mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 00:06:01 +00:00
azure aith wip
This commit is contained in:
@@ -181,6 +181,11 @@
|
||||
}
|
||||
});
|
||||
|
||||
export function changeConnectionBeforeSave(connection) {
|
||||
if (driver?.beforeConnectionSave) return driver.beforeConnectionSave(connection);
|
||||
return connection;
|
||||
}
|
||||
|
||||
$: isConnected = $openedConnections.includes($values._id) || $openedSingleDatabaseConnections.includes($values._id);
|
||||
|
||||
// $: console.log('CONN VALUES', $values);
|
||||
|
||||
@@ -65,7 +65,7 @@ function processApiResponse(route, args, resp) {
|
||||
|
||||
if (resp?.missingCredentials) {
|
||||
if (resp.detail.redirectToDbLogin) {
|
||||
openWebLink('connections/dblogin');
|
||||
openWebLink(`connections/dblogin?conid=${resp.detail.conid}`);
|
||||
} else if (!isDatabaseLoginVisible()) {
|
||||
showModal(DatabaseLoginModal, resp.detail);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user