Skip to content

Commit

Permalink
Fix call to obtain GDPR requirements for specific agent (#1544)
Browse files Browse the repository at this point in the history
  • Loading branch information
juankaromo authored and Jesús Ángel committed Jun 21, 2019
1 parent d3402b9 commit ccda846
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public/controllers/agent/agents.js
Expand Up @@ -562,7 +562,7 @@ export class AgentsController {
this.$scope.agent.status =
(((agentInfo || {}).data || {}).data || {}).status ||
this.$scope.agent.status;
} catch (error) {} // eslint-disable-line
} catch (error) { } // eslint-disable-line
}

try {
Expand All @@ -574,7 +574,7 @@ export class AgentsController {
this.$scope.selectedPciIndex = 0;
}
if (tab === 'gdpr') {
const gdprTabs = await this.commonData.getPCI();
const gdprTabs = await this.commonData.getGDPR();
this.$scope.gdprTabs = gdprTabs;
this.$scope.selectedGdprIndex = 0;
}
Expand All @@ -598,7 +598,7 @@ export class AgentsController {
if (tab === 'syscollector')
try {
await this.loadSyscollector(this.$scope.agent.id);
} catch (error) {} // eslint-disable-line
} catch (error) { } // eslint-disable-line
if (tab === 'configuration') {
this.$scope.switchConfigurationTab('welcome');
} else {
Expand Down Expand Up @@ -861,7 +861,7 @@ export class AgentsController {
);
this.errorHandler.info(
`Policy monitoring scan launched successfully on agent ${
this.$scope.agent.id
this.$scope.agent.id
}`,
''
);
Expand Down

0 comments on commit ccda846

Please sign in to comment.