Web: AutoBackup: Fixed error handler.

This commit is contained in:
Tatiana Lopaeva 2021-10-27 17:16:33 +03:00
parent 184975e729
commit 25d5e0f41f

View File

@ -245,7 +245,8 @@ class AutomaticBackup extends React.PureComponent {
console.log("error", res.error); console.log("error", res.error);
this.timerId = null; this.timerId = null;
this.setState({ this.setState({
isCopyingToLocal: true, isCopyingToLocal: false,
downloadingProgress: 100,
}); });
return; return;
} }
@ -829,6 +830,7 @@ class AutomaticBackup extends React.PureComponent {
} }
let storageParams = []; let storageParams = [];
if (isCheckedDocuments || isCheckedThirdParty) { if (isCheckedDocuments || isCheckedThirdParty) {
storageParams.push({ storageParams.push({
key: "folderId", key: "folderId",