mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +00:00
Update hass-tabs-subpage-data-table.ts
This commit is contained in:
parent
45dce18e4d
commit
8239f6dd60
@ -567,6 +567,11 @@ export class HaTabsSubpageDataTable extends LitElement {
|
|||||||
this._sortDirection = null;
|
this._sortDirection = null;
|
||||||
}
|
}
|
||||||
this._sortColumn = this._sortDirection === null ? undefined : columnId;
|
this._sortColumn = this._sortDirection === null ? undefined : columnId;
|
||||||
|
|
||||||
|
fireEvent(this, "sorting-changed", {
|
||||||
|
column: columnId,
|
||||||
|
direction: this._sortDirection,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private _handleGroupBy(ev) {
|
private _handleGroupBy(ev) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user