1
0
Fork 0

chore: Linter fixes

This commit is contained in:
Joost De Cock 2022-09-14 15:02:39 +02:00
parent b1429a3704
commit ef5e792d6b
40 changed files with 93 additions and 99 deletions

View file

@ -81,7 +81,7 @@ export const plugin = {
this.points[`_${prefix}_titlePattern`] = so.at
.shift(-90 - so.rotation, shift * so.scale)
.attr('data-text', name)
.attr('data-text', 'v' + this.context.config?.data?.version || 'No Version')
.attr('data-text', 'v' + (this.context.config?.data?.version || 'No Version'))
.attr('data-text-class', 'fill-note')
.attr('data-text-transform', transform(so.at.shift(-90 - so.rotation, shift * so.scale)))
if (this.context.settings.metadata && this.context.settings.metadata.for) {