This commit is contained in:
2019-05-02 20:54:07 +00:00
parent 006fba9d29
commit 9d40b832d7
6 changed files with 67 additions and 97 deletions

View File

@@ -502,27 +502,5 @@ export default {
newState.vm.formState.readOnly = newState.readOnly;
}
});
},
////////////////////////////
//
//
confirmDelete(vm) {
//https://github.com/yariksav/vuetify-dialog#readme
return vm.$dialog.warning({
text: vm.$gzlocale.get("DeletePrompt"),
title: vm.$gzlocale.get("Delete"),
icon: "fa-exclamation-triangle",
actions: [
{
text: vm.$gzlocale.get("Cancel"),
key: false
},
{
text: vm.$gzlocale.get("Delete"),
color: "red",
key: true
}
]
});
}
};