Fix drive reconnect error

pull/1/head
yflory 4 years ago
parent 2bcaf110a7
commit 98acca0c0e

@ -2773,12 +2773,14 @@ define([
});
}, 5000);
store.networkPromise.then(function () {
clearTimeout(to);
}, function (err) {
console.error(err);
clearTimeout(to);
});
if (store.networkPromise && store.networkPromise.then) {
store.networkPromise.then(function () {
clearTimeout(to);
}, function (err) {
console.error(err);
clearTimeout(to);
});
}
if (!data.cache) { return; }

Loading…
Cancel
Save