diff --git a/src/components/FileBar.vue b/src/components/FileBar.vue index 30246fc..5a21fe8 100644 --- a/src/components/FileBar.vue +++ b/src/components/FileBar.vue @@ -142,6 +142,10 @@ Clear Cache + + + Recover All Agents + @@ -262,6 +266,20 @@ export default { .get("/core/clearcache/") .then((r) => this.notifySuccess(r.data)); }, + bulkRecoverAgents() { + this.$q + .dialog({ + title: "Bulk Recover All Agents?", + message: + "This will restart the Tactical and Mesh Agent services on all agents", + cancel: true, + }) + .onOk(() => { + this.$axios + .get("/agents/bulkrecovery/") + .then((r) => this.notifySuccess(r.data)); + }); + }, openHelp(mode) { let url; switch (mode) {