Show progress message in setup and restore

This commit is contained in:
Girish Ramakrishnan
2018-12-15 16:08:44 -08:00
parent 236f66f56f
commit 7c972758af
5 changed files with 8 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ app.controller('RestoreController', ['$scope', '$http', 'Client', function ($sco
$scope.busy = false;
$scope.error = {};
$scope.message = ''; // progress
$scope.provider = '';
$scope.bucket = '';
$scope.prefix = '';
@@ -205,6 +206,8 @@ app.controller('RestoreController', ['$scope', '$http', 'Client', function ($sco
return;
}
$scope.message = status.restore.message;
setTimeout(waitForRestore, 5000);
});
}