Skip to content
New issue

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

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

Already on GitHub? # to your account

Bug Fix: selected theme not loading when refreshing #2006

Merged
merged 4 commits into from
Apr 3, 2025

Conversation

0xh3xa
Copy link
Contributor

@0xh3xa 0xh3xa commented Mar 29, 2025

What:

Fix Description:

  • The applyPreferredColorScheme() method is invoked from the setup() function in App.mjs, which causes the dark or classic theme to load by default. The fix involves checking whether a theme is already loaded from storage before applying the preferred color scheme.

image

Fix Video:

output.mp4

@CLAassistant
Copy link

CLAassistant commented Mar 29, 2025

CLA assistant check
All committers have signed the CLA.

@a3957273
Copy link
Member

a3957273 commented Apr 3, 2025

Hey @0xh3xa, this looks like a perfect PR. When merging your other PR it caused conflicts with this one, would you be able to resolve them? :)

@0xh3xa
Copy link
Contributor Author

0xh3xa commented Apr 3, 2025

@a3957273 Thanks for the heads-up! I'll resolve the conflicts shortly 👍

@0xh3xa
Copy link
Contributor Author

0xh3xa commented Apr 3, 2025

@a3957273 the conflict is resolved and the PR is ready :)

@a3957273 a3957273 merged commit 848660f into gchq:master Apr 3, 2025
4 checks passed
@a3957273
Copy link
Member

a3957273 commented Apr 3, 2025

Thanks, another great fix from you. :)

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

Successfully merging this pull request may close these issues.

Bug report: Selected theme not loaded when refreshing
3 participants