fix(nc-gui): lint errors (#7857)

This commit is contained in:
Ramesh Mane
2024-03-14 12:50:56 +05:30
committed by GitHub
parent 2cd0a1c74a
commit 2899d957ac
8 changed files with 25 additions and 20 deletions

View File

@@ -223,8 +223,8 @@ 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;
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, {