Skip to content

Commit

Permalink
Merge pull request #1318 from Shelf-nu/1317-bug-select-all-nrm-gives-…
Browse files Browse the repository at this point in the history
…a-500-error

fix: error with selecting all NRM
  • Loading branch information
DonKoko authored Sep 19, 2024
2 parents b234fce + 5599ee3 commit 0450467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/nrm/bulk-actions-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function ConditionalDropdown() {
const actionsButtonDisabled = selectedNRMs.length === 0;

const someNRMHasCustody = selectedNRMs.some(
(nrm) => nrm._count.custodies > 0
(nrm) => nrm?._count?.custodies > 0
);

const {
Expand Down

0 comments on commit 0450467

Please sign in to comment.