diff --git a/src/components/04_product-service/WorkManagementComponent.vue b/src/components/04_product-service/WorkManagementComponent.vue index bc2c5d0d..42dfc219 100644 --- a/src/components/04_product-service/WorkManagementComponent.vue +++ b/src/components/04_product-service/WorkManagementComponent.vue @@ -153,13 +153,13 @@ onMounted(async () => { }); watch( - () => productItems.value, + () => attributes.value.workflowId, () => { + if (props.readonly) return; attributes.value.stepProperties.forEach((s) => { s.productsId = productItems.value.map((p) => p.id); }); }, - { deep: true }, );