User lists now working properly with datalist. Fixup for many areas where error constructor was being called with object instead of string
This commit is contained in:
@@ -24,7 +24,7 @@ export default {
|
||||
//fetch and populate the store
|
||||
let res = await window.$gz.api.get("form-custom/" + formKey);
|
||||
if (res.error) {
|
||||
throw new Error(res.error);
|
||||
throw new Error(window.$gz.errorHandler.errorToString(res, vm));
|
||||
}
|
||||
window.$gz.store.commit("setFormCustomTemplateItem", {
|
||||
formKey: formKey,
|
||||
|
||||
Reference in New Issue
Block a user