1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-29 05:04:45 +01:00

Remember selection "Don't Group" in data-tables (#23836)

This commit is contained in:
karwosts
2025-01-22 00:03:23 -08:00
committed by GitHub
parent 1025f73c36
commit b3141a0653
4 changed files with 8 additions and 8 deletions

View File

@@ -527,7 +527,7 @@ class HaScriptPicker extends SubscribeMixin(LitElement) {
{ number: scripts.length }
)}
has-filters
.initialGroupColumn=${this._activeGrouping || "category"}
.initialGroupColumn=${this._activeGrouping ?? "category"}
.initialCollapsedGroups=${this._activeCollapsed}
.initialSorting=${this._activeSorting}
.columnOrder=${this._activeColumnOrder}
@@ -1255,7 +1255,7 @@ ${rejected
}
private _handleGroupingChanged(ev: CustomEvent) {
this._activeGrouping = ev.detail.value;
this._activeGrouping = ev.detail.value ?? "";
}
private _handleCollapseChanged(ev: CustomEvent) {