diff --git a/ayanova/src/api/authorizationroles.js b/ayanova/src/api/authorizationroles.js index c63c1a8f..68eb0251 100644 --- a/ayanova/src/api/authorizationroles.js +++ b/ayanova/src/api/authorizationroles.js @@ -72,7 +72,7 @@ export default { var ret = this.defaultRightsObject(); //Get the type name from the type enum value - var typeName = _.findKey(vm.$gztype, function(o) { + var typeName = _.findKey(window.$gz.type, function(o) { return o == oType; }); diff --git a/ayanova/src/components/custom-fields-control.vue b/ayanova/src/components/custom-fields-control.vue index fe882ee9..59e237be 100644 --- a/ayanova/src/components/custom-fields-control.vue +++ b/ayanova/src/components/custom-fields-control.vue @@ -56,7 +56,7 @@