Browse Source

fixed typo in getting translation for sort value

pull/14412/head
Maksym Tsymbarov 9 months ago
parent
commit
c4f7b385db
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/timeseries-table-widget.component.ts

2
ui-ngx/src/app/modules/home/components/widget/lib/timeseries-table-widget.component.ts

@ -423,7 +423,7 @@ export class TimeseriesTableWidgetComponent extends PageComponent implements OnI
source.sort((a, b) => {
const valueA = entityLabelCache.get(a.datasource.entityId) || '';
const valueB = entityLabelCache.get(a.datasource.entityId) || '';
const valueB = entityLabelCache.get(b.datasource.entityId) || '';
return isAsc
? collator.compare(valueA, valueB)

Loading…
Cancel
Save