From 051a04a19a74a9bc88f059102c2f44421cd06135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Paunovi=C4=87?= Date: Mon, 29 Jul 2024 10:05:24 +0200 Subject: [PATCH] fix(ui): properly update low code editor on metadata editing (#4464) --- ui/src/components/inputs/EditorView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/inputs/EditorView.vue b/ui/src/components/inputs/EditorView.vue index 048af8f51c..7583c3f1db 100644 --- a/ui/src/components/inputs/EditorView.vue +++ b/ui/src/components/inputs/EditorView.vue @@ -523,7 +523,7 @@ }); return; } - onEdit(YamlUtils.insertTrigger(source, newTrigger.value)); + onEdit(YamlUtils.insertTrigger(source, newTrigger.value), true); newTrigger.value = null; isNewTriggerOpen.value = false; haveChange.value = true; @@ -557,7 +557,7 @@ }); return; } - onEdit(YamlUtils.insertError(source, newError.value)); + onEdit(YamlUtils.insertError(source, newError.value), true); newError.value = null; isNewErrorOpen.value = false; };