From b17aff8c6fb009c85186b9c7bc6470b1d36e4e16 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Fri, 3 Jun 2022 00:37:51 +0000 Subject: [PATCH] add bulk recovery ui amidaware/tacticalrmm@c404ae7ac824eab5818cecfc2243150658b414f2 --- src/components/FileBar.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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) {