mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix: Set '@typescript-eslint/return-await' rule to 'always' for FE (no-changelog) (#8373)
This commit is contained in:
@@ -386,11 +386,15 @@ interface AddNodeOptions {
|
||||
name?: string;
|
||||
}
|
||||
|
||||
const NodeCreation = defineAsyncComponent(async () => import('@/components/Node/NodeCreation.vue'));
|
||||
const CanvasControls = defineAsyncComponent(async () => import('@/components/CanvasControls.vue'));
|
||||
const NodeCreation = defineAsyncComponent(
|
||||
async () => await import('@/components/Node/NodeCreation.vue'),
|
||||
);
|
||||
const CanvasControls = defineAsyncComponent(
|
||||
async () => await import('@/components/CanvasControls.vue'),
|
||||
);
|
||||
const SetupWorkflowCredentialsButton = defineAsyncComponent(
|
||||
async () =>
|
||||
import('@/components/SetupWorkflowCredentialsButton/SetupWorkflowCredentialsButton.vue'),
|
||||
await import('@/components/SetupWorkflowCredentialsButton/SetupWorkflowCredentialsButton.vue'),
|
||||
);
|
||||
|
||||
export default defineComponent({
|
||||
@@ -2030,7 +2034,7 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
return this.importWorkflowData(workflowData!, 'paste', false);
|
||||
return await this.importWorkflowData(workflowData!, 'paste', false);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user