mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 18:05:20 +00:00
Remove unused import
This commit is contained in:
parent
abbc11bad7
commit
57db408c41
@ -116,7 +116,6 @@ import './services';
|
||||
import './controllers';
|
||||
import './factories';
|
||||
import './directives';
|
||||
import { runInContext } from 'vm';
|
||||
|
||||
// Added due to Kibana 6.3.0. Do not modify.
|
||||
uiModules.get('kibana').provider('dashboardConfig', () => {
|
||||
|
@ -11,7 +11,6 @@
|
||||
*/
|
||||
import js2xmlparser from 'js2xmlparser';
|
||||
import XMLBeautifier from './xml-beautifier';
|
||||
import beautifier from './json-beautifier';
|
||||
import { queryConfig } from '../services/query-config';
|
||||
import { objectWithoutProperties } from './remove-hash-key.js';
|
||||
|
||||
@ -218,13 +217,14 @@ export class ConfigurationHandler {
|
||||
if (!$scope.$$phase) $scope.$digest();
|
||||
}
|
||||
|
||||
json2xml(data,$scope) {
|
||||
json2xml(data) {
|
||||
if(data){
|
||||
const result = XMLBeautifier(
|
||||
js2xmlparser.parse('configuration', data)
|
||||
);
|
||||
return result;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user