From cb3567625102d6b1cd70c9ff487a8c92045b0891 Mon Sep 17 00:00:00 2001 From: Erwan Miran Date: Thu, 28 Apr 2022 13:51:36 +0200 Subject: [PATCH] Make user-defined themes appear in drop-down list --- src/components/Settings/ThemeSelector.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Settings/ThemeSelector.vue b/src/components/Settings/ThemeSelector.vue index 11db7cd9..1b540808 100644 --- a/src/components/Settings/ThemeSelector.vue +++ b/src/components/Settings/ThemeSelector.vue @@ -75,7 +75,8 @@ export default { themeNames: function themeNames() { const externalThemeNames = Object.keys(this.externalThemes); const specialThemes = ['custom']; - return [...externalThemeNames, ...Defaults.builtInThemes, ...specialThemes]; + return [...this.extraThemeNames, ...externalThemeNames, + ...Defaults.builtInThemes, ...specialThemes]; }, extraThemeNames() { const userThemes = this.appConfig.cssThemes || [];