Fix theme getter
This commit is contained in:
parent
b361913929
commit
72564b7db6
|
@ -171,7 +171,7 @@ exports.getModule = class UserConfigModule extends MenuModule {
|
||||||
},
|
},
|
||||||
function prepareAvailableThemes(callback) {
|
function prepareAvailableThemes(callback) {
|
||||||
self.availThemeInfo = _.sortBy([...theme.getAvailableThemes()].map(entry => {
|
self.availThemeInfo = _.sortBy([...theme.getAvailableThemes()].map(entry => {
|
||||||
const theme = entry[1];
|
const theme = entry[1].get();
|
||||||
return {
|
return {
|
||||||
themeId : theme.info.themeId,
|
themeId : theme.info.themeId,
|
||||||
name : theme.info.name,
|
name : theme.info.name,
|
||||||
|
|
Loading…
Reference in New Issue