1
0
Fork 0
mirror of synced 2024-06-27 02:20:35 +12:00

Merge pull request #2220 from Budibase/fix/initial-theme

Fix colour picker inconsistencies when app theme has never been changed
This commit is contained in:
Andrew Kingston 2021-08-02 15:41:36 +01:00 committed by GitHub
commit 11b1fe88f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ export const getFrontendStore = () => {
url: application.url,
layouts,
screens,
theme: application.theme,
theme: application.theme || "spectrum--light",
hasAppPackage: true,
appInstance: application.instance,
clientLibPath,

View file

@ -24,7 +24,7 @@
<div>
<Select
value={$store.theme || "spectrum--light"}
value={$store.theme}
options={themeOptions}
placeholder={null}
on:change={e => store.actions.theme.save(e.detail)}