Merge branch '2.0' of github.com:wazuh/wazuh-kibana-app-dev into 2.1

This commit is contained in:
malbarral 2017-08-01 22:30:36 +02:00
commit e95c26b3b0

View File

@ -147,8 +147,8 @@ app.controller('agentsController', function ($scope, $q, DataFactory, Notifier,
};
$scope.applyAgent = function (agent) {
$scope.load = true;
if (agent) {
$scope.load = true;
if($scope.submenuNavItem == 'preview'){
$scope.submenuNavItem = 'overview';
$location.search('tab', $scope.submenuNavItem);