diff --git a/src/components/AlertsManager.vue b/src/components/AlertsManager.vue index f457af1..c7f95b8 100644 --- a/src/components/AlertsManager.vue +++ b/src/components/AlertsManager.vue @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/src/components/ScriptManager.vue b/src/components/ScriptManager.vue index 3415a4a..df53db5 100644 --- a/src/components/ScriptManager.vue +++ b/src/components/ScriptManager.vue @@ -416,16 +416,12 @@ export default { this.selectedScript = {}; }, viewCode(script) { - this.$q - .dialog({ - component: ScriptFormModal, - parent: this, - script: script, - readonly: true, - }) - .onDismiss(() => { - this.getScripts(); - }); + this.$q.dialog({ + component: ScriptFormModal, + parent: this, + script: script, + readonly: true, + }); }, favoriteScript(script) { this.$q.loading.show(); @@ -495,7 +491,7 @@ export default { categories: this.categories, readonly: false, }) - .onDismiss(() => { + .onOk(() => { this.getScripts(); }); }, @@ -508,7 +504,7 @@ export default { categories: this.categories, readonly: false, }) - .onDismiss(() => { + .onOk(() => { this.getScripts(); }); }, diff --git a/src/components/automation/AutomationManager.vue b/src/components/automation/AutomationManager.vue index 4238cc2..b212170 100644 --- a/src/components/automation/AutomationManager.vue +++ b/src/components/automation/AutomationManager.vue @@ -59,7 +59,7 @@ row-key="id" binary-state-sort hide-pagination - :hide-bottom="!!selected" + no-data-label="No Policies" > - -