diff --git a/src/views/DashboardView.vue b/src/views/DashboardView.vue index 5827d40..4d49f74 100644 --- a/src/views/DashboardView.vue +++ b/src/views/DashboardView.vue @@ -173,6 +173,18 @@ + + + + + + Run Checks + + @@ -690,6 +702,17 @@ export default { }) .onOk(() => this.$store.dispatch("refreshDashboard")); }, + runChecks(node) { + const target = node.children ? "client" : "site"; + this.$axios + .post(`/checks/${target}/${node.id}/csbulkrun/`) + .then((r) => { + this.notifySuccess(r.data); + }) + .catch((e) => { + console.error(e); + }); + }, showToggleMaintenance(node) { let data = { id: node.id,