This commit is contained in:
@@ -257,8 +257,9 @@ export default {
|
||||
.get("pick-list/List" + urlParams)
|
||||
.then(res => {
|
||||
vm.fetching = false;
|
||||
if (res.error) {
|
||||
throw res.error;
|
||||
//We never expect there to be no data here
|
||||
if (!res.data) {
|
||||
throw res;
|
||||
}
|
||||
vm.searchResults = res.data;
|
||||
window.$gz.form.addNoSelectionItem(vm.searchResults);
|
||||
|
||||
Reference in New Issue
Block a user