fix(legacy-plugin-chart-treemap): incorrect template literal (#693)

This commit is contained in:
Ville Brofeldt 2020-07-21 19:24:35 +03:00 committed by Yongjie Zhao
parent 3607532640
commit 4eff7f68bb

View File

@ -139,7 +139,7 @@ function Treemap(element, props) {
d.data.name
.slice(Math.max(0, d.data.name.lastIndexOf('.') + 1))
.split(/(?=[A-Z][^A-Z])/g)
.concat(`\u00A0{formatNumber(d.value)}`),
.concat(`\u00A0${formatNumber(d.value)}`),
)
.enter()
.append('tspan')