duplicate cloud connection

This commit is contained in:
SPRINX0\prochazka
2025-05-26 17:59:03 +02:00
parent f94bf3f8ce
commit 74560c3289
4 changed files with 55 additions and 10 deletions

View File

@@ -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);
}