chore(nc-gui): minor updates

This commit is contained in:
Ramesh Mane
2024-08-16 15:41:40 +00:00
parent ede1bc1f8c
commit 1778284eb8

View File

@@ -54,6 +54,10 @@ const _getDefaultConnectionConfig = (client = ClientType.MYSQL) => {
if ('database' in config.connection) {
config.connection.database = ''
}
if (client === ClientType.SQLITE && config.connection?.connection?.filename) {
config.connection.connection.filename = ''
}
return config
}