diff --git a/apps/web/src/components/pipeline/PipelineMergeWizard.vue b/apps/web/src/components/pipeline/PipelineMergeWizard.vue index e47f7d3..7f63571 100644 --- a/apps/web/src/components/pipeline/PipelineMergeWizard.vue +++ b/apps/web/src/components/pipeline/PipelineMergeWizard.vue @@ -161,10 +161,14 @@ async function submitMerge() { watch( () => [props.open, props.sourceId] as const, async ([open, id]) => { + if (!open || !id) { + resetState(); + return; + } resetState(); - if (!open || !id) return; await loadPreview(id); }, + { immediate: true }, ); watch(targetId, () => { @@ -283,9 +287,9 @@ watch(targetId, () => { -

- برای شروع ادغام، کاریز مبدا را انتخاب کنید. - +

+ +

{{ error }}