Skip to content

[Draft] [Port to dspace-8_x] Prevent double rendering dynamic themes #4229

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 5 commits into
base: dspace-8_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.

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