mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
refactor(editor): Stricter linting for promises and async functions (no-changelog) (#4642)
This commit is contained in:
@@ -610,7 +610,7 @@ export default mixins(showMessage, workflowHelpers).extend({
|
||||
// In case the redirect to canvas for new users didn't happen
|
||||
// we try again after closing the modal
|
||||
if (this.$route.name !== VIEWS.NEW_WORKFLOW) {
|
||||
this.$router.replace({ name: VIEWS.NEW_WORKFLOW });
|
||||
void this.$router.replace({ name: VIEWS.NEW_WORKFLOW });
|
||||
}
|
||||
},
|
||||
onSave() {
|
||||
@@ -627,7 +627,7 @@ export default mixins(showMessage, workflowHelpers).extend({
|
||||
personalization_survey_n8n_version: this.rootStore.versionCli,
|
||||
};
|
||||
|
||||
this.$externalHooks().run('personalizationModal.onSubmit', survey);
|
||||
await this.$externalHooks().run('personalizationModal.onSubmit', survey);
|
||||
|
||||
await this.usersStore.submitPersonalizationSurvey(survey as IPersonalizationLatestVersion);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user