chore: bump uuid version on UI side
fix: add custom info requests to customer list status check
This commit is contained in:
parent
81d74eb40b
commit
2a3e954484
5 changed files with 60 additions and 25 deletions
|
|
@ -13,7 +13,14 @@ import { getAuthorizedStatus, getFormattedPhone, getName } from './helper'
|
|||
|
||||
const useStyles = makeStyles(styles)
|
||||
|
||||
const CustomersList = ({ data, locale, onClick, loading, triggers }) => {
|
||||
const CustomersList = ({
|
||||
data,
|
||||
locale,
|
||||
onClick,
|
||||
loading,
|
||||
triggers,
|
||||
customRequests
|
||||
}) => {
|
||||
const classes = useStyles()
|
||||
|
||||
const elements = [
|
||||
|
|
@ -66,7 +73,11 @@ const CustomersList = ({ data, locale, onClick, loading, triggers }) => {
|
|||
{
|
||||
header: 'Status',
|
||||
width: 191,
|
||||
view: it => <MainStatus statuses={[getAuthorizedStatus(it, triggers)]} />
|
||||
view: it => (
|
||||
<MainStatus
|
||||
statuses={[getAuthorizedStatus(it, triggers, customRequests)]}
|
||||
/>
|
||||
)
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue