diff --git a/packages/nc-gui/components/dashboard/settings/data-sources/CreateBase.vue b/packages/nc-gui/components/dashboard/settings/data-sources/CreateBase.vue index 812ecbec70..780174a936 100644 --- a/packages/nc-gui/components/dashboard/settings/data-sources/CreateBase.vue +++ b/packages/nc-gui/components/dashboard/settings/data-sources/CreateBase.vue @@ -139,16 +139,10 @@ const validators = computed(() => { } }) -const { validate, validateInfos } = useForm(formState.value, validators) - -const populateName = (v: string) => { - if (selectedIntegration.value) return - formState.value.dataSource.connection.database = `${v.trim()}_noco` -} +const { validate, validateInfos, clearValidate } = useForm(formState.value, validators) const onClientChange = () => { formState.value.dataSource = { ...getDefaultConnectionConfig(formState.value.dataSource.client) } - populateName(formState.value.title) } const inflectionTypes = ['camelize', 'none'] @@ -322,7 +316,6 @@ watch( onMounted(async () => { await loadIntegrations(true, base.value?.id) formState.value.title = await generateUniqueName() - populateName(formState.value.title) nextTick(() => { // todo: replace setTimeout and follow better approach @@ -497,7 +490,7 @@ const filterIntegrationCategory = (c: IntegrationCategoryItemType) => [Integrati - + diff --git a/packages/nc-gui/components/project/AllTables.vue b/packages/nc-gui/components/project/AllTables.vue index 8f0252e8a4..a2a1088f8b 100644 --- a/packages/nc-gui/components/project/AllTables.vue +++ b/packages/nc-gui/components/project/AllTables.vue @@ -125,7 +125,7 @@ const onCreateBaseClick = () => { data-testid="proj-view-btn__add-new-table" @click="openTableCreateDialog()" > - +
{{ $t('general.create') }} {{ $t('general.new') }} {{ $t('objects.table') }}
@@ -141,7 +141,7 @@ const onCreateBaseClick = () => { data-testid="proj-view-btn__import-data" @click="isImportModalOpen = true" > - +
{{ $t('activity.import') }} {{ $t('general.data') }}
@@ -167,7 +167,7 @@ const onCreateBaseClick = () => { }" @click="onCreateBaseClick" > - +
{{ $t('labels.connectDataSource') }}
In realtime to external databases.