From 29ddac30d33caff1cf8a061d619742fdb3402d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milorad=20FIlipovi=C4=87?= Date: Fri, 20 May 2022 12:04:52 +0200 Subject: [PATCH] fix(editor): Do not display welcome sticky in template workflows (#3320) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🐛 Stopping a welcome sticky note to show up in template workflows * add space Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com> --- packages/editor-ui/src/views/NodeView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index 476c24cb6..6e9a7b354 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -1851,7 +1851,7 @@ export default mixins( this.$store.commit('setNodeViewOffsetPosition', {newOffset: [0, 0]}); // For novice users (onboardingFlowEnabled == true) // Inject welcome sticky note and zoom to fit - if(newWorkflow.onboardingFlowEnabled) { + if (newWorkflow.onboardingFlowEnabled && !this.isReadOnly) { this.$nextTick(async () => { await this.addNodes([ {