diff --git a/src/components/AgentTable.vue b/src/components/AgentTable.vue index 2416e06..b2c0be8 100644 --- a/src/components/AgentTable.vue +++ b/src/components/AgentTable.vue @@ -431,6 +431,7 @@ export default { this.$store.commit("setActiveRow", pk); this.$store.dispatch("loadSummary", pk); this.$store.dispatch("loadChecks", pk); + this.$store.dispatch("loadAutomatedTasks", pk); this.$store.dispatch("loadWinUpdates", pk); this.$store.dispatch("loadInstalledSoftware", pk); }, diff --git a/src/components/AutomatedTasksTab.vue b/src/components/AutomatedTasksTab.vue new file mode 100644 index 0000000..96e9da7 --- /dev/null +++ b/src/components/AutomatedTasksTab.vue @@ -0,0 +1,235 @@ + + + + + + diff --git a/src/components/ChecksTab.vue b/src/components/ChecksTab.vue index 80367c6..19af94e 100644 --- a/src/components/ChecksTab.vue +++ b/src/components/ChecksTab.vue @@ -166,6 +166,7 @@ {{ props.row.more_info }} {{ props.row.last_run }} + {{ props.row.assigned_task }} @@ -311,7 +312,8 @@ export default { label: "Date / Time", field: "last_run", align: "left" - } + }, + { name: "assignedtasks", label: "Assigned Tasks", field: "assigned_task", align: "left" }, ], pagination: { rowsPerPage: 9999 @@ -338,6 +340,7 @@ export default { }, onRefresh(id) { this.$store.dispatch("loadChecks", id); + this.$store.dispatch("loadAutomatedTasks", id); }, moreInfo(name, output) { this.$q.dialog({ @@ -390,6 +393,7 @@ export default { .delete("checks/deletestandardcheck/", { data: data }) .then(r => { this.$store.dispatch("loadChecks", this.checks.pk); + this.$store.dispatch("loadAutomatedTasks", this.checks.pk); this.notifySuccess("Check was deleted!"); }) .catch(e => this.notifyError(e.response.data.error)); diff --git a/src/components/SoftwareTab.vue b/src/components/SoftwareTab.vue index 9b8ee52..fd51947 100644 --- a/src/components/SoftwareTab.vue +++ b/src/components/SoftwareTab.vue @@ -1,5 +1,6 @@