mirror of https://github.com/Lissy93/dashy.git
🔀 Merge pull request #619 from emiran-orange/cssthemes_in_dropdown
[FIX] Make user-defined themes appear in drop-down list
This commit is contained in:
commit
493540b949
|
@ -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 || [];
|
||||
|
|
Loading…
Reference in New Issue