mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-02-22 04:11:03 +00:00
bug fixes with automated manager deleting policies and adding
This commit is contained in:
@@ -103,7 +103,7 @@
|
||||
<q-item-section>Copy</q-item-section>
|
||||
</q-item>
|
||||
|
||||
<q-item clickable v-close-popup @click="deletePolicy(props.row.id)">
|
||||
<q-item clickable v-close-popup @click="deletePolicy(props.row)">
|
||||
<q-item-section side>
|
||||
<q-icon name="delete" />
|
||||
</q-item-section>
|
||||
@@ -326,6 +326,7 @@ export default {
|
||||
this.refresh();
|
||||
this.$q.loading.hide();
|
||||
this.notifySuccess("Policy was deleted!");
|
||||
this.$store.dispatch("loadTree");
|
||||
})
|
||||
.catch(error => {
|
||||
this.$q.loading.hide();
|
||||
|
||||
@@ -58,7 +58,7 @@ export default {
|
||||
methods: {
|
||||
submit() {
|
||||
// close because nothing was edited
|
||||
if (this.object.alertTemplate === this.selectedTemplate) {
|
||||
if (this.object.alert_template === this.selectedTemplate) {
|
||||
this.hide();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user