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:
@@ -617,11 +617,11 @@ export default mixins(debounceHelper, workflowHelpers, nodeHelpers).extend({
|
||||
async loadInitialResources(): Promise<void> {
|
||||
if (!this.currentResponse || (this.currentResponse && this.currentResponse.error)) {
|
||||
this.searchFilter = '';
|
||||
this.loadResources();
|
||||
await this.loadResources();
|
||||
}
|
||||
},
|
||||
loadResourcesDebounced() {
|
||||
this.callDebounced('loadResources', { debounceTime: 1000, trailing: true });
|
||||
void this.callDebounced('loadResources', { debounceTime: 1000, trailing: true });
|
||||
},
|
||||
setResponse(paramsKey: string, props: Partial<IResourceLocatorQuery>) {
|
||||
this.cachedResponses = {
|
||||
@@ -707,7 +707,7 @@ export default mixins(debounceHelper, workflowHelpers, nodeHelpers).extend({
|
||||
return;
|
||||
}
|
||||
|
||||
this.loadInitialResources();
|
||||
void this.loadInitialResources();
|
||||
this.showResourceDropdown = true;
|
||||
},
|
||||
switchFromListMode(): void {
|
||||
|
||||
Reference in New Issue
Block a user