Skip to content

Commit

Permalink
🐛 Fixes auth data structure reverting to array
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Oct 23, 2021
1 parent 001e18b commit 3f35f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Configuration/JsonEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3f35f99

Please sign in to comment.