This commit is contained in:
2019-04-24 23:05:43 +00:00
parent ae62da7697
commit 8cc2be7622
2 changed files with 115 additions and 24 deletions

View File

@@ -147,6 +147,7 @@
<script>
/* Xeslint-disable */
//import ayatype from "../api/ayatype";
function clickHandler(menuItem) {
if (!menuItem) {
@@ -370,6 +371,11 @@ export default {
alert("STUB: DELETE");
},
duplicate() {
this.$gzrole.rights(
this.$store.state.roles,
this.$gzrole.AYATYPE.Widget,
this.$store.state.userId
);
//only if not dirty
//check rights
//duplicate