feat(editor): Implement loading and error states for dynamically loaded components in node parameter list (#8477)

This commit is contained in:
Milorad FIlipović
2024-01-30 14:27:42 +01:00
committed by GitHub
parent 121a55b691
commit e643a126f4
5 changed files with 65 additions and 32 deletions

View File

@@ -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[]>>,