Browse Source

UI: Fix custom translation not working for Y-axis label in chart widget

pull/13059/head
Vladyslav_Prykhodko 1 year ago
parent
commit
eaa2bd4411
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/chart/time-series-chart.ts

2
ui-ngx/src/app/modules/home/components/widget/lib/chart/time-series-chart.ts

@ -793,7 +793,7 @@ export class TbTimeSeriesChart {
}
} else {
if (!axis.option.name) {
axis.option.name = axis.settings.label;
axis.option.name = this.ctx.utilsService.customTranslation(axis.settings.label, axis.settings.label);
result.changed = true;
}
const nameGap = size;

Loading…
Cancel
Save