Feat: datatable prop to choose row size
This commit is contained in:
parent
2663f0b4a8
commit
5fd1974242
4 changed files with 12 additions and 4 deletions
|
|
@ -74,6 +74,7 @@ const Transactions = () => {
|
|||
}
|
||||
|
||||
const getCustomerDisplayName = tx => {
|
||||
console.log(tx)
|
||||
if (tx.customerName) return tx.customerName
|
||||
if (tx.customerIdCardData) return formatCustomerName(tx.customerIdCardData)
|
||||
return tx.customerPhone
|
||||
|
|
@ -172,6 +173,7 @@ const Transactions = () => {
|
|||
data={R.path(['transactions'])(txResponse)}
|
||||
Details={DetailsRow}
|
||||
expandable
|
||||
rowSize="sm"
|
||||
/>
|
||||
</>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue