diff --git a/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue b/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue index 8c2d04918f..f9e0149e98 100644 --- a/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue +++ b/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue @@ -222,6 +222,11 @@ const editBase = async () => { const config = { ...formState.value.dataSource, connection } + // todo: refactor and remove this duplicate path in config + if(config.client === ClientType.SQLITE && config.connection?.connection?.filename) { + config.connection.filename = config.connection.connection.filename; + } + await api.source.update(base.value?.id, props.sourceId, { alias: formState.value.title, type: formState.value.dataSource.client,