Skip to content

Commit

Permalink
feat: hide subsidy info if not revelant on asset page
Browse files Browse the repository at this point in the history
  • Loading branch information
jycssu-com committed Nov 22, 2023
1 parent 6f08985 commit 6b8b373
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/assetPage/assetPagePropertyPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const AssetPagePropertyTab: FC<{ data: UserRealtoken }> = ({ data }) => {
{
label: t('subsidyBy'),
value: subsidyBy ?? '',
isHidden: subsidyBy === 'no',
isHidden: (subsidyBy ?? 'no') === 'no',
},
{
label: t('rentStartDate'),
Expand All @@ -88,7 +88,7 @@ export const AssetPagePropertyTab: FC<{ data: UserRealtoken }> = ({ data }) => {
{
label: t('subsidyShare'),
value: subsidyShare,
isHidden: subsidyBy === 'no',
isHidden: (subsidyBy ?? 'no') === 'no',
},
{
label: t('grossRentMonth'),
Expand Down

0 comments on commit 6b8b373

Please sign in to comment.