diff --git a/src/components/automation/modals/PolicyStatus.vue b/src/components/automation/modals/PolicyStatus.vue index 06fedc4e..27bfb855 100644 --- a/src/components/automation/modals/PolicyStatus.vue +++ b/src/components/automation/modals/PolicyStatus.vue @@ -2,6 +2,15 @@ + {{ title.slice(0, 27) }} @@ -281,6 +290,13 @@ export default { }, }); }, + refresh() { + if (this.type === "task") { + this.getTaskData(); + } else { + this.getCheckData(); + } + }, show() { this.$refs.dialog.show(); },