This commit is contained in:
@@ -260,7 +260,7 @@ export default {
|
||||
});
|
||||
},
|
||||
created() {
|
||||
this.rights = this.$gzrole.getRights(this, window.$gz.type.Widget);
|
||||
this.rights = window.$gz.role.getRights(this, window.$gz.type.Widget);
|
||||
|
||||
this.$gzevent.$on("menu-click", clickHandler);
|
||||
//id 0 means create a new record don't load one
|
||||
@@ -343,7 +343,7 @@ export default {
|
||||
appError: null,
|
||||
serverError: {}
|
||||
},
|
||||
rights: this.$gzrole.defaultRightsObject()
|
||||
rights: window.$gz.role.defaultRightsObject()
|
||||
};
|
||||
},
|
||||
//WATCHERS
|
||||
|
||||
Reference in New Issue
Block a user