This commit is contained in:
@@ -497,8 +497,6 @@ export default {
|
||||
}
|
||||
},
|
||||
remove() {
|
||||
throw "Fake remove error";
|
||||
// eslint-disable-next-line no-unreachable
|
||||
var vm = this;
|
||||
window.$gz.dialog.confirmDelete().then(dialogResult => {
|
||||
if (dialogResult == true) {
|
||||
@@ -541,8 +539,6 @@ export default {
|
||||
});
|
||||
},
|
||||
duplicate() {
|
||||
throw "Fake duplicate error";
|
||||
// eslint-disable-next-line no-unreachable
|
||||
if (this.canDuplicate && this.$route.params.id != 0) {
|
||||
this.formState.loading = true;
|
||||
var vm = this;
|
||||
|
||||
Reference in New Issue
Block a user