Skip to content

Commit

Permalink
Rename stored keys to reset (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Jul 29, 2024
1 parent 04f9377 commit 016c360
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/dashboards/hacs-dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,25 +81,25 @@ export class HacsDashboard extends LitElement {

@property({ type: Boolean }) public isWide!: boolean;

@storage({ key: "hacs-table-filter", state: true, subscribe: false })
@storage({ key: "hacs-dashboard-table-filtering", state: true, subscribe: false })
private _activeFilters?: string[] = [];

@storage({ key: "hacs-table-sort", state: false, subscribe: false })
@storage({ key: "hacs-dashboard-table-sorting", state: false, subscribe: false })
private _activeSorting?: { column: string; direction: SortingDirection };

@storage({ key: "hacs-table-grouping", state: true, subscribe: false })
@storage({ key: "hacs-dashboard-table-grouping", state: true, subscribe: false })
private _activeGrouping?: string;

@storage({ key: "hacs-table-collapsed", state: false, subscribe: false })
@storage({ key: "hacs-dashboard-table-collapsed", state: false, subscribe: false })
private _activeCollapsed?: string[];

@storage({ key: "hacs-active-search", state: true, subscribe: false })
@storage({ key: "hacs-dashboard-active-search", state: true, subscribe: false })
private _activeSearch?: string;

@storage({ key: "hacs-table-hidden-columns", state: true, subscribe: false })
@storage({ key: "hacs-dashboard-table-hidden-columns", state: true, subscribe: false })
private _hiddenTableColumns?: string[];

@storage({ key: "hacs-table-columns-order", state: true, subscribe: false })
@storage({ key: "hacs-dashboard-table-columns-ordering", state: true, subscribe: false })
private _orderTableColumns?: string[];

protected render = (): TemplateResult | void => {
Expand Down

0 comments on commit 016c360

Please sign in to comment.