mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
fix: Fix TypeError when downloading a folder
This commit is contained in:
parent
953980835a
commit
87d59ffb9a
@ -2005,7 +2005,7 @@ define([
|
||||
if (cgNetworkIndex > 30) {
|
||||
cgNetworkIndex = 0;
|
||||
// Make sure all previous command are done and disconnect
|
||||
const prom = cpNetworkStatus[cgNetworkId] || [];
|
||||
const prom = cgNetworkStatus[cgNetworkId] || [];
|
||||
Promise.all(prom).then((nw) => {
|
||||
let network = nw[0];
|
||||
if (typeof(network?.disconnect) === "function") {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user