From f4961b3999b4641681866c41710c5a586bec9eb0 Mon Sep 17 00:00:00 2001 From: sanja <52755494+sanjacornelius@users.noreply.github.com> Date: Mon, 22 Jun 2026 13:08:01 -0700 Subject: [PATCH] Reset errors on duplicate modal show Clear any existing validation/errors when opening the duplicate script modal by setting `this.errors = {}` in showModal(). This prevents stale error state from persisting when the modal is reopened. --- resources/js/processes/designer/RecentAssetsList.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/js/processes/designer/RecentAssetsList.vue b/resources/js/processes/designer/RecentAssetsList.vue index 5e0b26bee4..01139949b2 100644 --- a/resources/js/processes/designer/RecentAssetsList.vue +++ b/resources/js/processes/designer/RecentAssetsList.vue @@ -406,6 +406,7 @@ export default { */ showModal() { this.$refs.duplicateScriptModalRef.show(); + this.errors = {}; }, hideDuplicateScriptModal() { this.$refs.duplicateScriptModalRef.hide();