Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
formattedSuffix() {
return SingularOrPlural(this.value, this.suffix)
},
},
formattedSuffix() {
return SingularOrPlural(this.value, this.suffix)
},
},
transformTooltipTextFnc: value => {
if (this.prefix) {
return `${this.prefix}${value}`
}
if (this.suffix) {
const suffix = SingularOrPlural(value, this.suffix)
return `${value} ${suffix}`
}
return `${value}`
},
}),