Skip to content

Commit

Permalink
Loan fixes (#2186)
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser authored Jun 4, 2024
1 parent 0d2803a commit 7e8384b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion centrifuge-app/src/pages/Loan/ExternalFinanceForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export function ExternalFinanceFields({
errorMessage={meta.touched ? meta.error : undefined}
decimals={8}
onChange={(value) => form.setFieldValue('quantity', value)}
currency={pool.currency.symbol}
/>
)
}}
Expand Down
1 change: 1 addition & 0 deletions centrifuge-app/src/pages/Loan/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ function Loan() {
<>
{templateData?.sections?.map((section, i) => {
const isPublic = section.attributes.every((key) => templateData.attributes?.[key]?.public)
if (!isPublic) return null
return (
<PageSection title={<Box>{section.name}</Box>} titleAddition={isPublic ? undefined : 'Private'} key={i}>
{isPublic ? (
Expand Down

0 comments on commit 7e8384b

Please sign in to comment.