more alerts work

This commit is contained in:
sadnub
2021-01-21 15:02:58 -05:00
parent 4187f0a3ba
commit ec6bfaff5b
10 changed files with 601 additions and 193 deletions

View File

@@ -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();
});
},