mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 18:28:55 +00:00
13 lines
444 B
JavaScript
13 lines
444 B
JavaScript
const app = require('ui/modules').get('app/wazuh', []);
|
|
|
|
// Logs controller
|
|
app.controller('blankScreenController', function ($scope, $rootScope, errorHandler,$location) {
|
|
if($rootScope.blankScreenError) {
|
|
$scope.errorToShow = $rootScope.blankScreenError;
|
|
delete $rootScope.blankScreenError;
|
|
if(!$scope.$$phase) $scope.$digest();
|
|
}
|
|
$scope.goOverview = () => {
|
|
$location.path('/overview');
|
|
}
|
|
}); |