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:
@@ -134,7 +134,8 @@ export default {
|
||||
`report/list/${reportDataOptions.ObjectType}`
|
||||
);
|
||||
if (res.error) {
|
||||
throw new Error(res.error);
|
||||
// throw new Error(res.error);
|
||||
throw new Error(window.$gz.errorHandler.errorToString(res, vm));
|
||||
} else {
|
||||
this.reportList = res.data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user