Skip to content

Commit

Permalink
Merge pull request #650 from reload/DDFLSBP-171-delete-materials-disa…
Browse files Browse the repository at this point in the history
…bled-state

Add disabled state for delete materials button
  • Loading branch information
JacobArrow authored Nov 2, 2023
2 parents 3becebd + e22d75e commit ee293d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/dashboard/modal/ReservationsGroupModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const ReservationGroupModal: FC<ReservationGroupModalProps> = ({
}
})}
buttonType="none"
disabled={false}
disabled={!materialsToDelete.length}
collapsible={false}
size="small"
variant="filled"
Expand Down

0 comments on commit ee293d9

Please sign in to comment.