mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 07:16:01 +00:00
portal connect fix
This commit is contained in:
@@ -86,6 +86,11 @@
|
||||
};
|
||||
|
||||
const handleClick = () => {
|
||||
const config = getCurrentConfig();
|
||||
if (config.runAsPortal) {
|
||||
handleConnect();
|
||||
return;
|
||||
}
|
||||
if ($openedSingleDatabaseConnections.includes(data._id)) {
|
||||
currentDatabase.set({ connection: data, name: data.defaultDatabase });
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user