Fix colour picker inconsistencies when app theme has never been changed

This commit is contained in:
Andrew Kingston 2021-08-02 15:28:40 +01:00
parent e332003cb7
commit 531d6d2cd0
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)}