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 copy timeline modal actions #5569

Merged
merged 2 commits into from
Jan 12, 2024
Merged

Fix copy timeline modal actions #5569

merged 2 commits into from
Jan 12, 2024

Conversation

masaball
Copy link
Contributor

@masaball masaball commented Jan 11, 2024

Fixes #5528

The code handling the submit action for copying timelines was looking for attributes from the data variable but the copy action did not have that variable populated. Added safe navigation for the error check and changed the redirect link to be pulled from the event variable. Changed the variable assignment to populate from event.detail.

@mohideen
Copy link
Contributor

@masaball I was working on addressing this on our fork as well. We can replicate fix to playlist copy which was addressed earlier: 650cc2c

@masaball
Copy link
Contributor Author

Good catch. I'd forgotten about/missed that fix. Definitely a better approach. I'm near the end of my day, but I'll update this PR tomorrow. Thanks!

Copy link
Contributor

@Dananji Dananji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@masaball masaball merged commit 1082948 into develop Jan 12, 2024
@masaball masaball deleted the timeline_copy branch January 12, 2024 17:18
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.

3 participants