use separate action for setting Theme V2
This commit is contained in:
parent
cd92eb56e0
commit
e029732021
3 changed files with 10 additions and 15 deletions
|
|
@ -255,10 +255,8 @@ const interfaceMod = {
|
|||
let promise = null
|
||||
|
||||
if (themeName) {
|
||||
// commit('setInstanceOption', { name: 'theme', value: themeName })
|
||||
promise = getPreset(themeName)
|
||||
.then(themeData => {
|
||||
// commit('setInstanceOption', { name: 'themeData', value: themeData })
|
||||
return normalizeThemeData(themeData)
|
||||
})
|
||||
} else if (themeData) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue