refactor(editor): Stricter linting for promises and async functions (no-changelog) (#4642)

This commit is contained in:
Michael Kret
2023-05-10 18:10:03 +03:00
committed by GitHub
parent 1b1dc0e655
commit ed3bc154b0
114 changed files with 351 additions and 344 deletions

View File

@@ -180,7 +180,7 @@ const WorkflowsView = mixins(showMessage, debounceHelper).extend({
methods: {
addWorkflow() {
this.uiStore.nodeViewInitialized = false;
this.$router.push({ name: VIEWS.NEW_WORKFLOW });
void this.$router.push({ name: VIEWS.NEW_WORKFLOW });
this.$telemetry.track('User clicked add workflow button', {
source: 'Workflows list',
@@ -191,9 +191,8 @@ const WorkflowsView = mixins(showMessage, debounceHelper).extend({
this.usersStore.fetchUsers(),
this.workflowsStore.fetchAllWorkflows(),
this.workflowsStore.fetchActiveWorkflows(),
this.credentialsStore.fetchAllCredentials(),
]);
this.credentialsStore.fetchAllCredentials();
},
onClickTag(tagId: string, event: PointerEvent) {
if (!this.filters.tags.includes(tagId)) {
@@ -233,7 +232,7 @@ const WorkflowsView = mixins(showMessage, debounceHelper).extend({
},
},
mounted() {
this.usersStore.showPersonalizationSurvey();
void this.usersStore.showPersonalizationSurvey();
},
});