From e4525dddf5205a8347789dc3883e40bad9dd3078 Mon Sep 17 00:00:00 2001 From: artoscinote <85488244+artoscinote@users.noreply.github.com> Date: Mon, 25 Jul 2022 11:40:28 +0200 Subject: [PATCH] Clear isNew on element update [SCI-7025] (#4283) --- app/javascript/vue/protocol/step.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/vue/protocol/step.vue b/app/javascript/vue/protocol/step.vue index b2886d00f..0a6c96140 100644 --- a/app/javascript/vue/protocol/step.vue +++ b/app/javascript/vue/protocol/step.vue @@ -324,6 +324,7 @@ }, updateElement(element, skipRequest=false) { let index = this.elements.findIndex((e) => e.id === element.id); + this.elements[index].isNew = false; if (skipRequest) { this.elements[index].attributes.orderable = element.attributes.orderable;