From 1608ac36ad5f97966f51f04c588b3d047c892dc2 Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Sun, 10 Jul 2022 16:36:44 +0200 Subject: [PATCH] fix(plugin-title): Double assigment --- plugins/plugin-title/src/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/plugin-title/src/index.js b/plugins/plugin-title/src/index.js index 5f5c6d82a01..2b6eacdf1c3 100644 --- a/plugins/plugin-title/src/index.js +++ b/plugins/plugin-title/src/index.js @@ -43,8 +43,6 @@ export default { so.scale = so.scale * this.context.settings.scale let overwrite = true if (so.append) overwrite = false - let prefix = '' - if (so.prefix) prefix = so.prefix this.points[`_${prefix}_titleNr`] = so.at .clone() .attr('data-text', so.nr, overwrite)