Skip to content

Commit

Permalink
GDB-11286 - ensure user changes in My Settings don't alter the defaul…
Browse files Browse the repository at this point in the history
…t model
  • Loading branch information
DesiBorisova committed Dec 16, 2024
1 parent e6c2a2f commit 4650315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/angular/utils/workbench-settings-storage-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function WorkbenchSettingsStorageService(localStorageAdapter, LSKeys) {
const getWorkbenchSettings = () => {
let settings = localStorageAdapter.get(LSKeys.WORKBENCH_SETTINGS);
if (!settings) {
settings = defaultSettings;
settings = _.clone(defaultSettings);
}
return settings;
};
Expand Down

0 comments on commit 4650315

Please sign in to comment.