From 6b69c0f3e4b4290e81b514d6dcf7db389b6064b6 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 16 Dec 2022 22:44:18 +0000 Subject: [PATCH] Fixed theme options Prop needed to be persisted --- lnbits/core/templates/admin/_tab_theme.html | 2 +- lnbits/core/templates/admin/index.html | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lnbits/core/templates/admin/_tab_theme.html b/lnbits/core/templates/admin/_tab_theme.html index 1391542d..8a74cc5a 100644 --- a/lnbits/core/templates/admin/_tab_theme.html +++ b/lnbits/core/templates/admin/_tab_theme.html @@ -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" >
diff --git a/lnbits/core/templates/admin/index.html b/lnbits/core/templates/admin/index.html index fc3d1417..81357101 100644 --- a/lnbits/core/templates/admin/index.html +++ b/lnbits/core/templates/admin/index.html @@ -140,6 +140,16 @@ data: function () { return { settings: {}, + lnbits_theme_options: [ + 'classic', + 'bitcoin', + 'flamingo', + 'freedom', + 'mint', + 'autumn', + 'monochrome', + 'salvador' + ], formData: {}, formAddAdmin: '', formAddUser: '',