mirror of
https://github.com/home-assistant/frontend.git
synced 2026-02-15 07:25:54 +00:00
Save and restore collapsed groups (#20591)
This commit is contained in:
@@ -55,6 +55,8 @@ export class HaTabsSubpageDataTable extends LitElement {
|
||||
|
||||
@property({ type: Boolean, attribute: "main-page" }) public mainPage = false;
|
||||
|
||||
@property({ attribute: false }) public initialCollapsedGroups: string[] = [];
|
||||
|
||||
/**
|
||||
* Object with the columns.
|
||||
* @type {Object}
|
||||
@@ -425,6 +427,7 @@ export class HaTabsSubpageDataTable extends LitElement {
|
||||
.sortDirection=${this._sortDirection}
|
||||
.groupColumn=${this._groupColumn}
|
||||
.groupOrder=${this.groupOrder}
|
||||
.initialCollapsedGroups=${this.initialCollapsedGroups}
|
||||
>
|
||||
${!this.narrow
|
||||
? html`
|
||||
|
||||
Reference in New Issue
Block a user