mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(editor): Stricter linting for promises and async functions (no-changelog) (#4642)
This commit is contained in:
@@ -119,7 +119,7 @@ export default mixins(workflowHelpers).extend({
|
||||
wf_template_repo_session_id: this.workflowsStore.currentSessionId,
|
||||
source: 'collection',
|
||||
};
|
||||
this.$externalHooks().run('templatesCollectionView.onUseWorkflow', telemetryPayload);
|
||||
void this.$externalHooks().run('templatesCollectionView.onUseWorkflow', telemetryPayload);
|
||||
this.$telemetry.track('User inserted workflow template', telemetryPayload);
|
||||
|
||||
this.navigateTo(event, VIEWS.TEMPLATE_IMPORT, id);
|
||||
@@ -130,7 +130,7 @@ export default mixins(workflowHelpers).extend({
|
||||
window.open(route.href, '_blank');
|
||||
return;
|
||||
} else {
|
||||
this.$router.push({ name: page, params: { id } });
|
||||
void this.$router.push({ name: page, params: { id } });
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user