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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user