fix: rename selectedThemeUrl to selectedThemeId, as they're storing IDs
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful

This commit is contained in:
Twig 2025-07-12 18:53:02 +02:00
parent 5b4c278b83
commit 2cc42a729b
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ function contextMenuHandler(e: MouseEvent) {
//]);
}
const currentTheme = settingLoad("selectedThemeUrl") ?? "dark"
const currentTheme = settingLoad("selectedThemeId") ?? "dark"
const baseURL = useRuntimeConfig().app.baseURL;
useHead({

View file

@ -48,7 +48,7 @@ function changeTheme(id: string, url: string) {
return;
}
settingSave("selectedThemeUrl", id)
settingSave("selectedThemeId", id)
// if the theme didn't originally load for some reason, create it
if (!themeLinkElement) {