Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Update network history settings key
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Jul 21, 2023
1 parent 962fc97 commit 14966c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class QsHistoryComponent implements OnChanges {

ngOnChanges(changes: SimpleChanges): void {
if ('settings' in changes) {
const historySetting = this.settings.find(s => s.Key === 'history/enabled') as (BoolSetting | undefined);
const historySetting = this.settings.find(s => s.Key === 'history/enable') as (BoolSetting | undefined);
if (historySetting) {
this.currentValue = getActualValue(historySetting);
}
Expand All @@ -41,7 +41,7 @@ export class QsHistoryComponent implements OnChanges {
updateHistoryEnabled(enabled: boolean) {
this.save.next({
isDefault: false,
key: 'history/enabled',
key: 'history/enable',
value: enabled,
})
}
Expand Down

0 comments on commit 14966c1

Please sign in to comment.