refactor: add loader

This commit is contained in:
Pranav C
2025-10-07 22:30:52 +00:00
parent 474433d63a
commit b01de37581
11 changed files with 591 additions and 445 deletions

View File

@@ -1189,7 +1189,14 @@ watch(
<div class="flex flex-col gap-2">
<div>Edit Connection JSON</div>
<div class="border-1 border-gray-200 !rounded-lg shadow-sm overflow-hidden">
<LazyMonacoEditor v-model="customJsonFormState" class="nc-connection-json-editor h-[400px] w-full" />
<Suspense>
<template #default>
<LazyMonacoEditor v-model="customJsonFormState" class="nc-connection-json-editor h-[400px] w-full" />
</template>
<template #fallback>
<MonacoLoading height="h-[400px]" />
</template>
</Suspense>
</div>
</div>
</a-collapse-panel>