UI: Fix custom translation not working for Y-axis label in chart widget
This commit is contained in:
parent
6f641e184b
commit
eaa2bd4411
@ -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…
x
Reference in New Issue
Block a user