mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
fix(editor): Do not display welcome sticky in template workflows (#3320)
* 🐛 Stopping a welcome sticky note to show up in template workflows
* add space
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
This commit is contained in:
parent
a0b5ad357b
commit
29ddac30d3
|
@ -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([
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue