Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix embed url generation for components embedded with the old contained method #1682

Merged
merged 1 commit into from
May 16, 2024

Conversation

SARodrigues
Copy link
Collaborator

Overview

When components are embedded with the old contained "method", the Share button in those embedded components is not generating the correct url. This PR fixes that.

Tracking

Basecamp: https://basecamp.com/1756858/projects/13795275/todos/493617470

@SARodrigues SARodrigues self-assigned this May 16, 2024
@SARodrigues SARodrigues merged commit c367301 into develop May 16, 2024
2 of 3 checks passed
Copy link

what-the-diff bot commented May 16, 2024

PR Summary

  • Revision on modal-share.js path configuration
    This change involves adjusting the embedUri variable in this file. This modification ensures that we remove '/contained' from the path name, streamlining our link structure.

  • Update to embed-component.jsx link structure
    Likewise, the link variable in this file was changed to also remove '/contained' from the pathname. This again helps to refine and simplify our links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant