Fixed theme options

Prop needed to be persisted
This commit is contained in:
ben 2022-12-16 22:44:18 +00:00
parent dc0c4564af
commit 6b69c0f3e4
2 changed files with 11 additions and 1 deletions

View File

@ -66,7 +66,7 @@
v-model="formData.lnbits_theme_options"
multiple
hint="Choose themes available for users"
:options="settings.lnbits_theme_options"
:options="lnbits_theme_options"
label="Themes"
></q-select>
<br />

View File

@ -140,6 +140,16 @@
data: function () {
return {
settings: {},
lnbits_theme_options: [
'classic',
'bitcoin',
'flamingo',
'freedom',
'mint',
'autumn',
'monochrome',
'salvador'
],
formData: {},
formAddAdmin: '',
formAddUser: '',