1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 20:55:49 +00:00

Update hass-tabs-subpage-data-table.ts

This commit is contained in:
Bram Kragten
2024-04-22 20:28:21 +02:00
parent 45dce18e4d
commit 8239f6dd60

View File

@@ -567,6 +567,11 @@ export class HaTabsSubpageDataTable extends LitElement {
this._sortDirection = null;
}
this._sortColumn = this._sortDirection === null ? undefined : columnId;
fireEvent(this, "sorting-changed", {
column: columnId,
direction: this._sortDirection,
});
}
private _handleGroupBy(ev) {