mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-27 02:43:55 +03:00
Make user-defined themes appear in drop-down list
This commit is contained in:
parent
45fa35a384
commit
cb35676251
@ -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
Block a user