1
0
Fork 0

fix(plugin-annotations): Typo on var name

This commit is contained in:
joostdecock 2024-01-07 15:52:50 +01:00
parent c06a18e06e
commit 66b8bf3a06

View file

@ -182,7 +182,7 @@ const title = function (config, { Point, points, scale, locale, store, part, log
} }
} }
if (mc.notes) { 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) else notes.push(mc.notes)
} }
if (notes.length > 0) { if (notes.length > 0) {