mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-23 05:35:07 +02:00
🐛 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));
|
localStorage.setItem(localStorageKeys.PAGE_INFO, JSON.stringify(data.pageInfo));
|
||||||
}
|
}
|
||||||
if (data.appConfig) {
|
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));
|
localStorage.setItem(localStorageKeys.APP_CONFIG, JSON.stringify(data.appConfig));
|
||||||
}
|
}
|
||||||
if (data.appConfig.theme) {
|
if (data.appConfig.theme) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user