feat(editor): Implement loading and error states for dynamically loaded components in node parameter list (#8477)
This commit is contained in:
committed by
GitHub
parent
121a55b691
commit
e643a126f4
@@ -122,7 +122,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineAsyncComponent, defineComponent } from 'vue';
|
||||
import { defineComponent } from 'vue';
|
||||
import type { PropType } from 'vue';
|
||||
import type { IUpdateInformation } from '@/Interface';
|
||||
|
||||
@@ -136,15 +136,8 @@ import { deepCopy, isINodePropertyCollectionList } from 'n8n-workflow';
|
||||
|
||||
import { get } from 'lodash-es';
|
||||
|
||||
const ParameterInputList = defineAsyncComponent(
|
||||
async () => await import('./ParameterInputList.vue'),
|
||||
);
|
||||
|
||||
export default defineComponent({
|
||||
name: 'FixedCollectionParameter',
|
||||
components: {
|
||||
ParameterInputList,
|
||||
},
|
||||
props: {
|
||||
nodeValues: {
|
||||
type: Object as PropType<Record<string, INodeParameters[]>>,
|
||||
|
||||
Reference in New Issue
Block a user