fix: identify customers with manual pending data

This commit is contained in:
Sérgio Salgado 2022-01-14 21:05:55 +00:00
parent cfb360ab4e
commit ebfdbbb3fc
3 changed files with 54 additions and 8 deletions

View file

@ -13,7 +13,7 @@ import { getAuthorizedStatus, getFormattedPhone, getName } from './helper'
const useStyles = makeStyles(styles)
const CustomersList = ({ data, locale, onClick, loading }) => {
const CustomersList = ({ data, locale, onClick, loading, triggers }) => {
const classes = useStyles()
const elements = [
@ -66,7 +66,7 @@ const CustomersList = ({ data, locale, onClick, loading }) => {
{
header: 'Status',
width: 191,
view: it => <MainStatus statuses={[getAuthorizedStatus(it)]} />
view: it => <MainStatus statuses={[getAuthorizedStatus(it, triggers)]} />
}
]