Fix busy indicator

This commit is contained in:
Girish Ramakrishnan
2022-05-12 09:51:36 -07:00
parent 2745101378
commit e225c6fe0a

View File

@@ -1557,9 +1557,10 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
$scope.restore.busy = true;
Client.restoreApp($scope.app.id, $scope.restore.backup.id, function (error) {
$scope.restore.busy = false;
if (error) {
Client.error(error);
$scope.restore.busy = false;
return;
}