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

@@ -522,7 +522,7 @@ export default mixins(
dependentParametersValues() {
// Reload the remote parameters whenever a parameter
// on which the current field depends on changes
this.loadRemoteParameterOptions();
void this.loadRemoteParameterOptions();
},
value() {
if (this.parameter.type === 'color' && this.getArgument('showAlpha') === true) {
@@ -1116,7 +1116,7 @@ export default mixins(
resourceLocatorRef?.$emit('refreshList');
}
this.loadRemoteParameterOptions();
void this.loadRemoteParameterOptions();
} else if (command === 'formatHtml') {
htmlEditorEventBus.emit('format-html');
}
@@ -1175,7 +1175,7 @@ export default mixins(
this.$watch(
() => this.node!.credentials,
() => {
this.loadRemoteParameterOptions();
void this.loadRemoteParameterOptions();
},
{ deep: true, immediate: true },
);