fix: T&C icon
This commit is contained in:
parent
13a16bc965
commit
d2d85ebb6b
1 changed files with 25 additions and 19 deletions
|
|
@ -261,8 +261,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
|||
{tx.customerPhone}
|
||||
</IDButton>
|
||||
)}
|
||||
{(tx.customerIdCardPhotoPath || tx.txCustomerPhotoPath) &&
|
||||
!tx.customerIdCardData && (
|
||||
{tx.customerIdCardPhotoPath && !tx.customerIdCardData && (
|
||||
<IDButton
|
||||
popoverClassname={classes.clipboardPopover}
|
||||
className={classes.idButton}
|
||||
|
|
@ -271,11 +270,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
|||
InverseIcon={CardIdInverseIcon}>
|
||||
<img
|
||||
className={classes.idCardPhoto}
|
||||
src={`${URI}${
|
||||
tx.customerIdCardPhotoPath
|
||||
? '/id-card-photo/'
|
||||
: 'operator-data/customersphotos'
|
||||
}${tx.customerIdCardPhotoPath ?? tx.txCustomerPhotoPath}`}
|
||||
src={`${URI}/id-card-photo/${tx.customerIdCardPhotoPath}`}
|
||||
alt=""
|
||||
/>
|
||||
</IDButton>
|
||||
|
|
@ -325,6 +320,17 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
|||
/>
|
||||
</IDButton>
|
||||
)}
|
||||
{tx.txCustomerPhotoPath && (
|
||||
<IDButton
|
||||
name="cam"
|
||||
Icon={CamIdIcon}
|
||||
InverseIcon={CamIdInverseIcon}>
|
||||
<img
|
||||
src={`${URI}/'operator-data/customersphotos'/${tx.txCustomerPhotoPath}`}
|
||||
alt=""
|
||||
/>
|
||||
</IDButton>
|
||||
)}
|
||||
</Box>
|
||||
</div>
|
||||
<div className={classes.exchangeRate}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue