This commit is contained in:
2020-04-04 19:54:29 +00:00
parent 798e923afe
commit 7d8c3fd695

View File

@@ -37,7 +37,7 @@ function dealWithError(msg, vm) {
//If a form instance was provided (vue instance)
//then put the error into it
if (vm) {
if (vm.ay.dev()) {
if (vm.$ay.dev()) {
//make sure formState.appError is defined on data
if (!window.$gz._.has(vm, "formState.appError")) {
throw "DEV ERROR errorHandler::dealWithError -> formState.appError seems to be missing from form's vue data object";