Fix theme getter

This commit is contained in:
Bryan Ashby 2020-06-29 22:59:27 -06:00
parent b361913929
commit 72564b7db6
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 1 additions and 1 deletions

View File

@ -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,