From 8239f6dd6082a3ef24cc394f8ee17e9715b32a33 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Mon, 22 Apr 2024 20:28:21 +0200 Subject: [PATCH] Update hass-tabs-subpage-data-table.ts --- src/layouts/hass-tabs-subpage-data-table.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/layouts/hass-tabs-subpage-data-table.ts b/src/layouts/hass-tabs-subpage-data-table.ts index 2942626502fc..dfab77e67c6a 100644 --- a/src/layouts/hass-tabs-subpage-data-table.ts +++ b/src/layouts/hass-tabs-subpage-data-table.ts @@ -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) {