Skip to content

Commit

Permalink
Disable "renew multiple loans" button on mobile if there aren't any
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamik10 committed Jan 18, 2024
1 parent 39ab5b7 commit 8471b4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apps/loan-list/list/ToggleListViewButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ const ToggleListViewButtons: FC<ToggleListViewButtonsProps> = ({
<Button
label={t("loanListRenewMultipleButtonText")}
buttonType="none"
disabled={false}
disabled={disableRenewLoansButton}
collapsible={false}
size="small"
variant="filled"
variant={disableRenewLoansButton ? "outline" : "filled"}
onClick={() => {
openRenewLoansModal();
}}
Expand Down

0 comments on commit 8471b4d

Please sign in to comment.