mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
feat(editor): Add support for unplugin-icons and auto-importing components (no-changelog) (#10055)
This commit is contained in:
@@ -92,11 +92,11 @@ import { createEventBus } from 'n8n-design-system';
|
||||
import type { PinDataSource } from '@/composables/usePinnedData';
|
||||
import { useClipboard } from '@/composables/useClipboard';
|
||||
|
||||
const NodeCreation = defineAsyncComponent(
|
||||
const LazyNodeCreation = defineAsyncComponent(
|
||||
async () => await import('@/components/Node/NodeCreation.vue'),
|
||||
);
|
||||
|
||||
const NodeDetailsView = defineAsyncComponent(
|
||||
const LazyNodeDetailsView = defineAsyncComponent(
|
||||
async () => await import('@/components/NodeDetailsView.vue'),
|
||||
);
|
||||
|
||||
@@ -1533,7 +1533,7 @@ onBeforeUnmount(() => {
|
||||
/>
|
||||
</div>
|
||||
<Suspense>
|
||||
<NodeCreation
|
||||
<LazyNodeCreation
|
||||
v-if="!isCanvasReadOnly"
|
||||
:create-node-active="uiStore.isCreateNodeActive"
|
||||
:node-view-scale="viewportTransform.zoom"
|
||||
@@ -1542,7 +1542,7 @@ onBeforeUnmount(() => {
|
||||
/>
|
||||
</Suspense>
|
||||
<Suspense>
|
||||
<NodeDetailsView
|
||||
<LazyNodeDetailsView
|
||||
:workflow-object="editableWorkflowObject"
|
||||
:read-only="isCanvasReadOnly"
|
||||
:is-production-execution-preview="isProductionExecutionPreview"
|
||||
|
||||
Reference in New Issue
Block a user