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

Avoid duplicate series icon when favoring a course #5358

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

jorg-vr
Copy link
Contributor

@jorg-vr jorg-vr commented Feb 12, 2024

This pull request fixes the duplicate series icon on a favored course.

This bug was caused by a bad interaction between 'cloneNode' and custom elements.
There seem to no way to know your elements is being cloned (WICG/webcomponents#176), thus the only solution seems a hack after the clone happened

Closes #5348

@jorg-vr jorg-vr added the bug Something isn't working label Feb 12, 2024
@jorg-vr jorg-vr self-assigned this Feb 12, 2024
@jorg-vr jorg-vr requested a review from a team as a code owner February 12, 2024 14:18
@jorg-vr jorg-vr requested review from bmesuere and chvp and removed request for a team February 12, 2024 14:18
@jorg-vr jorg-vr merged commit 1ed2ac3 into main Feb 13, 2024
13 of 15 checks passed
@jorg-vr jorg-vr deleted the fix/duplicate-icons-on-favorite branch February 13, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Course card wrongly rendered when marked as favorite
3 participants