Fix hidding metafields

This commit is contained in:
Pedro Sanchez 2017-03-31 11:16:11 -07:00
parent 21ddf4de41
commit 3bf77f98ca

View File

@ -127,7 +127,7 @@ module.exports = function (server, options) {
var setMetafields = function (type) {
if(type == "install"){
server.log([blueWazuh, 'initialize', 'info'], 'Hide Kibana metafields...');
uiSettings.set(req,'metaFields', '')
uiSettings.set(req,'metaFields', [])
.then(function () {
server.log([blueWazuh, 'initialize', 'info'], 'Kibana metafield set to empty');
}).catch(function (data) {