Skip to content

Commit

Permalink
fix settings persistence.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Jun 5, 2022
1 parent a6208c0 commit 28ac3ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class TreoConfigService
if (localConfigStr){
//check localstorage for a value
let localConfig = JSON.parse(localConfigStr)
currentScrutinyConfig = Object.assign({}, localConfig, currentScrutinyConfig) // make sure defaults are available if missing from localStorage.
currentScrutinyConfig = Object.assign({}, currentScrutinyConfig, localConfig) // make sure defaults are available if missing from localStorage.
}
// Set the private defaults
this._config = new BehaviorSubject(currentScrutinyConfig);
Expand Down

0 comments on commit 28ac3ac

Please sign in to comment.