Another attempt at fixing broken retry for apollo error handling.
This commit is contained in:
@@ -21,7 +21,10 @@ export default function OwnerFindModalContainer({
|
||||
const ownersList = useQuery(QUERY_SEARCH_OWNER_BY_IDX, {
|
||||
variables: {
|
||||
search: owner
|
||||
? `${owner.ownr_fn} ${owner.ownr_ln} ${owner.ownr_addr1} ${owner.ownr_city} ${owner.ownr_zip} ${owner.ownr_ea} ${owner.ownr_ph1} ${owner.ownr_ph2}`
|
||||
? `${owner.ownr_fn || ""} ${owner.ownr_ln || ""} ${owner.ownr_addr1 ||
|
||||
""} ${owner.ownr_city || ""} ${owner.ownr_zip ||
|
||||
""} ${owner.ownr_ea || ""} ${owner.ownr_ph1 ||
|
||||
""} ${owner.ownr_ph2 || ""}`
|
||||
: null
|
||||
},
|
||||
skip: !owner,
|
||||
|
||||
Reference in New Issue
Block a user