Fixed again colour on selector and approach of reloading page

This commit is contained in:
Juanjo Jiménez 2018-01-29 17:29:47 +01:00
parent 576cae4444
commit 0963a3ab25
2 changed files with 2 additions and 1 deletions

View File

@ -136,7 +136,7 @@ md-select {
margin-bottom: 0;
color: white;
&:focus {
& > md-select-value {
color: white;
}
}

View File

@ -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");