restore: do not redirect back to setup view
This commit is contained in:
@@ -521,7 +521,7 @@ function taskNameFromInstallationState(installationState) {
|
||||
// activated
|
||||
// adminFqn
|
||||
// }
|
||||
// returns true if redirected . currentView is one of dashboard/restore/setup/activation
|
||||
// returns true if redirected . currentView is one of 'dashboard', 'restore', 'setup', 'activation'
|
||||
function redirectIfNeeded(status, currentView) {
|
||||
var search = decodeURIComponent(window.location.search).slice(1).split('&').map(function (item) { return item.split('='); }).reduce(function (o, k) { o[k[0]] = k[1]; return o; }, {});
|
||||
|
||||
@@ -573,11 +573,6 @@ function redirectIfNeeded(status, currentView) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (currentView !== 'setup') {
|
||||
window.location.href = '/setup.html' + window.location.search;
|
||||
return true;
|
||||
}
|
||||
|
||||
// if we are here, proceed with current view
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user