mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 05:36:01 +00:00
duplicate cloud connection
This commit is contained in:
@@ -32,7 +32,10 @@ async function loadCloudConnection(conid) {
|
||||
|
||||
function ensureCloudConnectionsLoaded(...conids) {
|
||||
const conns = getCloudConnectionsStore();
|
||||
_.uniq(conids).forEach(conid => {
|
||||
|
||||
cloudConnectionsStore.update(store => _.pick(store, conids));
|
||||
|
||||
conids.forEach(conid => {
|
||||
if (!conns[conid]) {
|
||||
loadCloudConnection(conid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user