From a9704c497d96923bbfd1b20f5d0d33303e242a88 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 19 Jul 2019 18:35:57 +0000 Subject: [PATCH] --- ayanova/src/api/authorizationroles.js | 2 +- .../src/components/custom-fields-control.vue | 6 +++--- ayanova/src/components/inventorywidgetlist.vue | 2 +- ayanova/src/views/inventory-widget-edit.vue | 18 +++++------------- 4 files changed, 10 insertions(+), 18 deletions(-) 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 @@