Skip to content

Commit

Permalink
fix(tinlake-ui): show max reserve component for admins (#61) (#62)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeroen Offerijns <Offerijns@users.noreply.github.com>
  • Loading branch information
philipstanislaus and Jeroen Offerijns authored Dec 17, 2020
1 parent 4ad8479 commit ddfe65b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinlake-ui/containers/Loan/Overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const LoanOverview: React.FC<Props> = (props: Props) => {

const [showMaxReserveForm, setShowMaxReserveForm] = React.useState(false)

return isBorrower ? (
return isBorrower || isAdmin ? (
<Box margin={{ bottom: 'medium' }}>
<Box direction="row" justify="between">
<Box>
Expand Down

0 comments on commit ddfe65b

Please sign in to comment.