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);
this.timerId = null;
this.setState({
isCopyingToLocal: true,
isCopyingToLocal: false,
downloadingProgress: 100,
});
return;
}
@ -829,6 +830,7 @@ class AutomaticBackup extends React.PureComponent {
}
let storageParams = [];
if (isCheckedDocuments || isCheckedThirdParty) {
storageParams.push({
key: "folderId",