From fbdf488d64fa43710f53d8858f175e54bfce0c31 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Thu, 21 Jan 2021 23:58:31 +0000 Subject: [PATCH] add check to remove salt --- src/components/AgentTable.vue | 9 ++++++--- src/components/modals/agents/AgentRecovery.vue | 6 +----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/AgentTable.vue b/src/components/AgentTable.vue index e3895da..16a5bec 100644 --- a/src/components/AgentTable.vue +++ b/src/components/AgentTable.vue @@ -500,9 +500,12 @@ export default { }); }, runPatchStatusScan(pk, hostname) { - axios.get(`/winupdate/${pk}/runupdatescan/`).then(r => { - this.notifySuccess(`Scan will be run shortly on ${hostname}`); - }); + this.$axios + .get(`/winupdate/${pk}/runupdatescan/`) + .then(r => { + this.notifySuccess(`Scan will be run shortly on ${hostname}`); + }) + .catch(e => this.notifyError(e.response.data)); }, installPatches(pk) { this.$q.loading.show(); diff --git a/src/components/modals/agents/AgentRecovery.vue b/src/components/modals/agents/AgentRecovery.vue index 6e5f461..19dd424 100644 --- a/src/components/modals/agents/AgentRecovery.vue +++ b/src/components/modals/agents/AgentRecovery.vue @@ -12,7 +12,6 @@ - @@ -20,10 +19,7 @@

Fix issues with the Mesh Agent which handles take control, live terminal and file browser.

-

Fix issues with the TacticalAgent windows service which handles agent check-in and os info.

-
- -

Fix issues with the Tactical Checkrunner windows service which handles running all checks.

+

Fix issues with the TacticalAgent windows service which handles agent check-in.