Skip to content

Commit

Permalink
Fix merging issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuklis committed Dec 1, 2022
1 parent 65b624c commit d85ebc9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const useBoundWithHoldings = (boundWithItems) => {
const ky = useOkapiKy();
const [namespace] = useNamespace({ key: 'boundWithHoldings' });

const holdingRecordIds = boundWithItems.records?.map(x => x.holdingsRecordId);
const holdingRecordIds = boundWithItems?.map(x => x.holdingsRecordId);
const queryIds = `(${holdingRecordIds.join(' or ')})`;

const { data, isLoading } = useQuery(
Expand Down

0 comments on commit d85ebc9

Please sign in to comment.