Skip to content

[Draft] [Port to dspace-7_x] Prevent double rendering dynamic themes #4230

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

Draft
wants to merge 2 commits into
base: dspace-7_x
Choose a base branch
from

Conversation

LotteHofstede
Copy link
Contributor

References

Description

The code changes in this PR forego setting an initial theme when dynamic themes are enabled. This way, when initially loading a page, it won't briefly show the base theme before rendering the dynamically configurated theme.

Instructions for Reviewers

When hard refreshing a page with a dynamically set theme, the base theme won't be briefly loaded anymore.

@LotteHofstede LotteHofstede force-pushed the 4123-duplicate-theme-rendering_contibute-7.x branch from cfd5419 to 0a4f0b9 Compare April 22, 2025 17:10
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.

1 participant