Display restore error on page load
This commit is contained in:
@@ -234,6 +234,8 @@ app.controller('RestoreController', ['$scope', '$http', 'Client', function ($sco
|
||||
|
||||
if (status.webadminStatus.restore.active) return waitForRestore();
|
||||
|
||||
if (status.webadminStatus.restore.error) $scope.error.generic = status.webadminStatus.restore.error;
|
||||
|
||||
if (status.activated) {
|
||||
window.location.href = '/';
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user