From 0963a3ab256cc9c951e91393d40eeff7e48b72ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Jim=C3=A9nez?= Date: Mon, 29 Jan 2018 17:29:47 +0100 Subject: [PATCH] Fixed again colour on selector and approach of reloading page --- public/less/angular-md.less | 2 +- public/services/patternHandler.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/less/angular-md.less b/public/less/angular-md.less index 2000a624c..6164c7dcd 100644 --- a/public/less/angular-md.less +++ b/public/less/angular-md.less @@ -136,7 +136,7 @@ md-select { margin-bottom: 0; color: white; - &:focus { + & > md-select-value { color: white; } } diff --git a/public/services/patternHandler.js b/public/services/patternHandler.js index 39fb9e9d1..0a136315f 100644 --- a/public/services/patternHandler.js +++ b/public/services/patternHandler.js @@ -38,6 +38,7 @@ require('ui/modules').get('app/wazuh', []) notify.info("Successfully changed the default index-pattern"); newPattern = selectedPattern; + $route.reload(); }) .catch(() => { notify.error("Error while changing the default index-pattern");