This commit is contained in:
Jesús Ángel González 2018-03-12 17:16:18 +01:00
parent 6faafa8aed
commit 19b26d0f1c

View File

@ -23,7 +23,7 @@ const checkTimestamp = async (appState,genericReq,errorHandler,$rootScope,$locat
$rootScope.lastRestart = data.data.lastRestart;
if(!$rootScope.$$phase) $rootScope.$digest();
} else {
$rootScope.blankScreenError = 'Your .wazuh.version index is empty or corrupt'
$rootScope.blankScreenError = 'Your .wazuh-version index is empty or corrupt.'
$location.search('tab',null);
$location.path('/blank-screen');
}
@ -39,8 +39,6 @@ const checkTimestamp = async (appState,genericReq,errorHandler,$rootScope,$locat
const settingsWizard = ($rootScope, $location, $q, $window, testAPI, appState, genericReq, errorHandler) => {
let deferred = $q.defer();
// Save current location if we aren't performing a health-check, to later be able to come back to the same tab
if (!$location.path().includes("/health-check")) {
$rootScope.previousLocation = $location.path();