This commit is contained in:
Jan Prochazka
2024-12-12 16:29:12 +01:00
parent d3cc3a92c1
commit 1571295ab6
4 changed files with 22 additions and 8 deletions

View File

@@ -525,11 +525,13 @@ await dbgateApi.dropAllDbObjects(${JSON.stringify(
}}
on:click={() => {
// switchCurrentDatabase(data);
$focusedConnectionOrDatabase = { conid: data.connection?._id, database: data.name, connection: data.connection };
if (getDatabaseClickActionSetting() == 'switch') {
switchCurrentDatabase(data);
}
}}
on:mousedown={() => {
$focusedConnectionOrDatabase = { conid: data.connection?._id, database: data.name, connection: data.connection };
}}
on:dragstart
on:dragenter
on:dragend