This commit is contained in:
2019-07-19 18:50:00 +00:00
parent a9704c497d
commit 702e632dde
4 changed files with 7 additions and 7 deletions

View File

@@ -168,7 +168,7 @@ export default {
}
},
beforeCreate() {
// console.log("custom-fields-control::BEFORECREATE: TOP");
// console.log("custom-fields-control::BEFORECREATE: TOP");
//check pre-requisites exist just in case
if (this.$gzdevmode()) {
if (!this.$_) {
@@ -184,7 +184,7 @@ export default {
//var v=this.$store.state.formCustomTemplate[this.formKey];
},
created() {
// console.log("custom-fields-control::BEFORECREATE: TOP");
// console.log("custom-fields-control::BEFORECREATE: TOP");
if (this.$gzdevmode()) {
//debugger;
if (!this.formKey) {

View File

@@ -114,7 +114,7 @@ export default {
})
.then(() => {
//don't have access to local data object until here
that.rights = this.$gzrole.getRights(this, window.$gz.type.Widget);
that.rights = window.$gz.role.getRights(this, window.$gz.type.Widget);
var formSettings = that.$gzform.getFormSettings(FORM_KEY);
/**
* {
@@ -158,7 +158,7 @@ export default {
appError: null,
serverError: {}
},
rights: this.$gzrole.defaultRightsObject(),
rights: window.$gz.role.defaultRightsObject(),
totalItems: 0,
Items: [],
loading: true,