chore: bump uuid version on UI side

fix: add custom info requests to customer list status check
This commit is contained in:
Sérgio Salgado 2022-02-10 21:39:00 +00:00
parent 81d74eb40b
commit 2a3e954484
5 changed files with 60 additions and 25 deletions

View file

@ -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)]}
/>
)
}
]