From 9727b3c0e7f7fd5cd925acdc3cf820fcae93bf74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20=C3=81ngel=20Gonz=C3=A1lez?= Date: Wed, 31 Jan 2018 17:02:38 +0100 Subject: [PATCH] Fix typo --- public/controllers/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/controllers/settings.js b/public/controllers/settings.js index ed0882b2e..aaf743749 100644 --- a/public/controllers/settings.js +++ b/public/controllers/settings.js @@ -399,7 +399,7 @@ app.controller('settingsController', function ($scope, $rootScope, $http, $route const data = await genericReq.request('GET', `/api/wazuh-elastic/updatePattern/${newIndexPattern}`); appState.setCurrentPattern(newIndexPattern); $scope.$emit('updatePattern', {}); - notify.info('Successfully changed the default index-pattern'); + errorHandler.info('Successfully changed the default index-pattern','Settings'); $scope.selectedIndexPattern = newIndexPattern; if(!$scope.$$phase) $scope.$digest(); return;