This commit is contained in:
2019-04-25 20:03:10 +00:00
parent 221840e6c0
commit 656239f334
3 changed files with 35 additions and 46 deletions

View File

@@ -371,12 +371,7 @@ export default {
alert("STUB: DELETE");
},
duplicate() {
this.$gzrole.rights(
this,
this.$store.state.roles,
this.$gztype.Widget,
this.$store.state.userId
);
this.$gzrole.getRights(this, this.$gztype.Widget, this.obj.ownerId);
//only if not dirty
//check rights
//duplicate