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

@@ -49,7 +49,7 @@
</template>
<script lang="ts" setup>
import { ref, computed, defineAsyncComponent } from 'vue';
import { ref, computed } from 'vue';
import type { IUpdateInformation } from '@/Interface';
import type {
@@ -65,9 +65,6 @@ import { get } from 'lodash-es';
import { useNDVStore } from '@/stores/ndv.store';
import { useNodeHelpers } from '@/composables/useNodeHelpers';
import { useI18n } from '@/composables/useI18n';
const ParameterInputList = defineAsyncComponent(
async () => await import('./ParameterInputList.vue'),
);
const selectedOption = ref<string | undefined>(undefined);
export interface Props {