Skip to content

Commit

Permalink
update setting name hideDeprecatedDocItems -> doc.hideDeprecatedItems
Browse files Browse the repository at this point in the history
  • Loading branch information
JOSU9435 authored and imolorhe committed Jun 23, 2024
1 parent 50adf9f commit 6ebadd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class WindowComponent implements OnInit {
select((state) => state.settings.disableLineNumbers)
);
this.hideDeprecatedDocItems$ = this.store.pipe(
select((state) => state.settings.hideDeprecatedDocItems)
select((state) => state.settings['doc.hideDeprecatedItems'])
);
this.collections$ = this.store.pipe(select((state) => state.collection.list));
this.activeWindowId$ = this.store.pipe(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export interface SettingsState {
/**
* Hides deprecated Doc items
*/
hideDeprecatedDocItems?: boolean;
'doc.hideDeprecatedItems'?: boolean;

/**
* Specify custom theme config to override the specified theme values
Expand Down

0 comments on commit 6ebadd5

Please sign in to comment.