mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 02:49:51 +00:00
Sort data using locale in data tables (#17781)
* Sort data using locale in data tables * Only use string compare is both values are string
This commit is contained in:
@@ -458,7 +458,8 @@ export class HaDataTable extends LitElement {
|
||||
filteredData,
|
||||
this._sortColumns[this._sortColumn],
|
||||
this._sortDirection,
|
||||
this._sortColumn
|
||||
this._sortColumn,
|
||||
this.hass.locale.language
|
||||
)
|
||||
: filteredData;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user