🐛 Fixes auth data structure reverting to array
This commit is contained in:
parent
001e18b709
commit
3f35f99a72
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue