fix(plugin-title): Prevent store.get() warning messages
This commit is contained in:
parent
9012fe26b4
commit
2efc3d7f20
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ export const plugin = {
|
|||
}
|
||||
|
||||
// Cut List instructions
|
||||
const partCutlist = store.get(['cutlist', part.name])
|
||||
const partCutlist = store.get(['cutlist', part.name], [])
|
||||
// if there's a cutlist and it should be included
|
||||
if (so.cutlist && partCutlist?.materials) {
|
||||
// get the default cutonfold
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue