mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
Removed console.logs and track by filters
This commit is contained in:
parent
cbb5570240
commit
2cd6ffde5e
@ -575,7 +575,6 @@ class AgentsController {
|
||||
*/
|
||||
async switchConfigTab(configurationTab, sections) {
|
||||
try {
|
||||
console.log('DEBUG PARAMS',configurationTab, sections)
|
||||
this.$scope.load = true;
|
||||
this.$scope.currentConfig = null;
|
||||
this.$scope.XMLContent = false;
|
||||
@ -583,7 +582,6 @@ class AgentsController {
|
||||
this.$scope.configurationSubTab = false;
|
||||
this.$scope.configurationTab = configurationTab;
|
||||
this.$scope.currentConfig = await queryConfig(this.$scope.agent.id, sections, this.apiReq, this.errorHandler);
|
||||
console.log('DEBUG RESULT',this.$scope.currentConfig)
|
||||
this.$scope.load = false;
|
||||
if (!this.$scope.$$phase) this.$scope.$digest();
|
||||
} catch (error) {
|
||||
|
@ -108,7 +108,6 @@ class NewConfigurationController {
|
||||
if (result.length) {
|
||||
this.$scope.currentConfig = result[0];
|
||||
}
|
||||
console.log(this.$scope.currentConfig)
|
||||
this.$scope.load = false;
|
||||
if (!this.$scope.$$phase) this.$scope.$digest();
|
||||
} catch (error) {
|
||||
|
@ -98,7 +98,7 @@
|
||||
<th class="wz-text-left col-lg-8">Path</th>
|
||||
</thead>
|
||||
<tbody class="wz-word-wrap">
|
||||
<tr ng-repeat="item in currentConfig.osquery.packs track by $index">
|
||||
<tr ng-repeat="item in currentConfig.osquery.packs">
|
||||
<td>{{ item.name }}</td>
|
||||
<td>{{ item.path }}</td>
|
||||
</tr>
|
||||
|
@ -35,7 +35,7 @@
|
||||
<th class="wz-text-left">Alt. port</th>
|
||||
</thead>
|
||||
<tbody class="wz-word-wrap">
|
||||
<tr ng-repeat="item in currentConfig['vulnerability-detector'].feeds track by $index">
|
||||
<tr ng-repeat="item in currentConfig['vulnerability-detector'].feeds">
|
||||
<td>{{ item.name || '---' }}</td>
|
||||
<td>{{ item.version || '---' }}</td>
|
||||
<td>{{ item.interval || '---' }}</td>
|
||||
|
Loading…
Reference in New Issue
Block a user