fix(nc-gui): review changes

This commit is contained in:
Ramesh Mane
2024-08-16 15:41:40 +00:00
parent 4a09db167a
commit e0c2bdf5d2
2 changed files with 2 additions and 5 deletions

View File

@@ -294,11 +294,9 @@ onMounted(async () => {
.filter(([key]) => !definedParameters.includes(key))
.map(([key, value]) => ({ key: key as string, value: value as string }))
const client = activeBase.config?.client || activeBase.config?.connection?.client
formState.value = {
title: activeBase.alias || '',
dataSource: { client, connection: {}, ...(activeBase.config || {}), searchPath: activeBase.config?.searchPath || [] },
dataSource: { connection: {}, ...(activeBase.config || {}), searchPath: activeBase.config?.searchPath || [] },
inflection: {
inflectionColumn: activeBase.inflection_column,
inflectionTable: activeBase.inflection_table,