This commit is contained in:
@@ -933,13 +933,13 @@ export default {
|
||||
// requires object with one or both keys {temp:{...tempformsettings...},saved:{...persistedformsettings...}}
|
||||
//
|
||||
setFormSettings(formKey, formSettings) {
|
||||
if (window.$gz.dev) {
|
||||
if (!formSettings.saved && !formSettings.temp) {
|
||||
throw new Error(
|
||||
"gzform:setFormSettings - saved AND temp keys are both missing from form data!"
|
||||
);
|
||||
}
|
||||
}
|
||||
// if (window.$gz.dev) {
|
||||
// if (!formSettings.saved && !formSettings.temp) {
|
||||
// throw new Error(
|
||||
// "gzform:setFormSettings - saved AND temp keys are both missing from form data!"
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
|
||||
if (formSettings.saved) {
|
||||
window.$gz.store.commit("setFormSettings", {
|
||||
|
||||
@@ -1378,13 +1378,13 @@ function initDataObject(vm) {
|
||||
}
|
||||
vm.obj.editView = ret;
|
||||
|
||||
if (window.$gz.dev) {
|
||||
if (vm.obj.editView.length != vm.fieldDefinitions.length) {
|
||||
throw new Error(
|
||||
"ay-data-list-view::initDataObject - working array length not equal to total field definition length"
|
||||
);
|
||||
}
|
||||
}
|
||||
// if (window.$gz.dev) {
|
||||
// if (vm.obj.editView.length != vm.fieldDefinitions.length) {
|
||||
// throw new Error(
|
||||
// "ay-data-list-view::initDataObject - working array length not equal to total field definition length"
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
return Promise.resolve();
|
||||
|
||||
//eoc
|
||||
@@ -1470,11 +1470,11 @@ function getDisplayForFilter(
|
||||
//VALUE FILTER
|
||||
//Nothing more to do if there isn't both a value AND an operator at this point
|
||||
if (filterOperator == null || filterValue == null) {
|
||||
if (window.$gz.dev) {
|
||||
throw new Error(
|
||||
"ay-data-list-view::getDisplayForFilter Value filter missing one ore more of Operator, Value"
|
||||
);
|
||||
}
|
||||
// if (window.$gz.dev) {
|
||||
// throw new Error(
|
||||
// "ay-data-list-view::getDisplayForFilter Value filter missing one ore more of Operator, Value"
|
||||
// );
|
||||
// }
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user