From 66b8bf3a062d98e931f9511b27008148175edec0 Mon Sep 17 00:00:00 2001 From: joostdecock Date: Sun, 7 Jan 2024 15:52:50 +0100 Subject: [PATCH] fix(plugin-annotations): Typo on var name --- plugins/plugin-annotations/src/title.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/plugin-annotations/src/title.mjs b/plugins/plugin-annotations/src/title.mjs index d8ae7083809..3dd0e4f5cd2 100644 --- a/plugins/plugin-annotations/src/title.mjs +++ b/plugins/plugin-annotations/src/title.mjs @@ -182,7 +182,7 @@ const title = function (config, { Point, points, scale, locale, store, part, log } } if (mc.notes) { - if (Array.isArray(notes)) notes.push(...mc.notes) + if (Array.isArray(mc.notes)) notes.push(...mc.notes) else notes.push(mc.notes) } if (notes.length > 0) {