mirror of https://github.com/Lissy93/dashy.git
🐛 Fixes auth data structure reverting to array
This commit is contained in:
parent
001e18b709
commit
3f35f99a72
|
@ -156,7 +156,7 @@ export default {
|
|||
localStorage.setItem(localStorageKeys.PAGE_INFO, JSON.stringify(data.pageInfo));
|
||||
}
|
||||
if (data.appConfig) {
|
||||
data.appConfig.auth = this.config.appConfig.auth || [];
|
||||
data.appConfig.auth = this.config.appConfig.auth || {};
|
||||
localStorage.setItem(localStorageKeys.APP_CONFIG, JSON.stringify(data.appConfig));
|
||||
}
|
||||
if (data.appConfig.theme) {
|
||||
|
|
Loading…
Reference in New Issue