Skip to content

Commit

Permalink
Update hass-tabs-subpage-data-table.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten committed Apr 22, 2024
1 parent 45dce18 commit 8239f6d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/layouts/hass-tabs-subpage-data-table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8239f6d

Please sign in to comment.