Improved slot tag handling

This commit is contained in:
Stefan Zermatten
2022-07-24 21:50:31 +02:00
parent a0c2822dac
commit 4c5c537f29
9 changed files with 29 additions and 23 deletions

View File

@@ -150,7 +150,8 @@
},
canFillWithMany(){
return this.isSlot && (
this. node.quantityExpected?.value === 0 ||
!this.node.quantityExpected ||
this.node.quantityExpected.value === 0 ||
(this.node.quantityExpected.value > 1 && this.node.spaceLeft > 0)
);
},