diff --git a/packages/nc-gui-v2/components/template/Editor.vue b/packages/nc-gui-v2/components/template/Editor.vue index 2795f85cbd..94a80b7400 100644 --- a/packages/nc-gui-v2/components/template/Editor.vue +++ b/packages/nc-gui-v2/components/template/Editor.vue @@ -2,9 +2,8 @@ import { useToast } from 'vue-toastification' import type { ColumnType, TableType } from 'nocodb-sdk' import { isVirtualCol, UITypes } from 'nocodb-sdk' -import type { SizeType } from 'ant-design-vue/es/config-provider' -import type { FormInstance } from 'ant-design-vue' import { Form } from 'ant-design-vue' +import type { SizeType } from 'ant-design-vue/es/config-provider' import { computed, onMounted } from '#imports' import MdiTableIcon from '~icons/mdi/table' import MdiStringIcon from '~icons/mdi/alpha-a' @@ -32,8 +31,8 @@ const inputRefs = ref([]) const { addTab } = useTabs() const { sqlUi, project, loadTables } = useProject() const loading = ref(false) -const buttonSize = ref('middle') const toast = useToast() +const buttonSize = ref('large') const templateForm = reactive<{ tables: object[] }>({ tables: [], }) @@ -49,6 +48,7 @@ const uiTypeOptions = ref( ) .map((x: string) => ({ value: x, + label: x, })), ) @@ -310,7 +310,7 @@ const importTemplate = async () => { - - +
- - + + +
+ +
@@ -431,10 +437,10 @@ const importTemplate = async () => { Add SingleLineText Column - - + +
+ +
@@ -443,10 +449,10 @@ const importTemplate = async () => { Add LongText Column - - + +
+ +
@@ -455,11 +461,11 @@ const importTemplate = async () => { Add Other Column - - - Column + +
+ + Column +