From 60f96dacffcdba73aa49c6ebbe499f2b01d83d1b Mon Sep 17 00:00:00 2001 From: rajatsingh23 <48049052+rajatsingh23@users.noreply.github.com> Date: Tue, 28 Jan 2025 13:08:03 +0530 Subject: [PATCH] chore(ui): amend plus button action on flow editor topology (#6983) Co-authored-by: MilosPaunovic --- ui/src/components/inputs/EditorView.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/src/components/inputs/EditorView.vue b/ui/src/components/inputs/EditorView.vue index fc498ea481b..e282ba75243 100644 --- a/ui/src/components/inputs/EditorView.vue +++ b/ui/src/components/inputs/EditorView.vue @@ -500,6 +500,9 @@ } const handleTopologyEditClick = (params) => { + if (viewType.value === editorViewTypes.TOPOLOGY) { + switchViewType(editorViewTypes.SOURCE_TOPOLOGY); + } editorViewType.value = "NO_CODE"; nextTick(() => router.replace({query: {...route.query, ...params}})) }