Skip to content

Commit

Permalink
Spacing.
Browse files Browse the repository at this point in the history
  • Loading branch information
MiloradFilipovic committed May 13, 2022
1 parent c4cbee6 commit 5643509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor-ui/src/components/Sticky.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext
}
},
onMarkdownClick ( link:HTMLAnchorElement, event: Event ) {
if( link ) {
if (link) {
const isOnboardingNote = this.name === QUICKSTART_NOTE_NAME;
const isWelcomeVideo = link.querySelector('img[alt="n8n quickstart video"');
const type = isOnboardingNote && isWelcomeVideo ? 'welcome_video' : isOnboardingNote && link.getAttribute('href') === '/templates' ? 'templates' : 'other';
Expand Down

0 comments on commit 5643509

Please sign in to comment.