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:
2020-12-08 20:25:55 +00:00
parent 0b7f418c11
commit 9f0ef1a8f5
19 changed files with 68 additions and 60 deletions

View File

@@ -270,8 +270,7 @@ export default {
vm.fetching = false;
//We never expect there to be no data here
if (!res.hasOwnProperty("data")) {
//throw new Error(res);
if (!res.hasOwnProperty("data")) {
return Promise.reject(res);
}
vm.searchResults = res.data;