From 0394d33f63377fd2ae57ff5c6d8462dec0e07156 Mon Sep 17 00:00:00 2001 From: Jeroen Offerijns Date: Thu, 17 Dec 2020 13:21:22 +0100 Subject: [PATCH] fix(tinlake-ui): show max reserve component for admins --- tinlake-ui/containers/Loan/Overview/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinlake-ui/containers/Loan/Overview/index.tsx b/tinlake-ui/containers/Loan/Overview/index.tsx index 17017974c5..8d2004e869 100644 --- a/tinlake-ui/containers/Loan/Overview/index.tsx +++ b/tinlake-ui/containers/Loan/Overview/index.tsx @@ -44,7 +44,7 @@ const LoanOverview: React.FC = (props: Props) => { const [showMaxReserveForm, setShowMaxReserveForm] = React.useState(false) - return isBorrower ? ( + return isBorrower || isAdmin ? (