refactor: package behavior

This commit is contained in:
puriphatt 2025-07-11 10:37:10 +07:00
parent 052722eb14
commit d59642bcb3

View file

@ -1395,6 +1395,7 @@ function submitAddWorkProduct() {
if (!s.hasOwnProperty('productsId')) {
s.productsId = [];
}
if (s.productsId.length === 0) return;
s.productsId.push(i.id);
},
);