This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user