diff --git a/plugins/plugin-cutonfold/src/index.mjs b/plugins/plugin-cutonfold/src/index.mjs index 37aa04e2924..7e01c130ec6 100644 --- a/plugins/plugin-cutonfold/src/index.mjs +++ b/plugins/plugin-cutonfold/src/index.mjs @@ -37,7 +37,7 @@ export const plugin = { prefix: 'cutonfold', ...so, } - if (typeof store.cutlist !== undefined) { + if (typeof store.cutlist !== 'undefined') { store.cutlist.setCutOnFold(so.from, so.to) if (so.grainline) store.cutlist.setGrain(so.from.angle(so.to)) }