Removed refreshing action per every parent state

This commit is contained in:
Jesús Ángel 2019-03-01 16:32:35 +01:00
parent 1777b45eaf
commit b8123eab04

View File

@ -95,12 +95,7 @@ function nestedResolve(
wazuhConfig,
location && location.includes('/health-check')
)
)
.then(async () => {
try {
await this.genericReq.request('GET', '/elastic/known-fields/all', {});
} catch (error) {} //eslint-disable-line
});
);
}
function savedSearch(
@ -175,15 +170,15 @@ routes
resolve: { wzConfig }
})
.when('/visualize/create?', {
redirectTo: function() {},
redirectTo: function () { },
resolve: { wzConfig, wzKibana }
})
.when('/context/:pattern?/:type?/:id?', {
redirectTo: function() {},
redirectTo: function () { },
resolve: { wzKibana }
})
.when('/doc/:pattern?/:index?/:type?/:id?', {
redirectTo: function() {},
redirectTo: function () { },
resolve: { wzKibana }
})
.when('/wazuh-dev', {