Merge pull request #1051 from chaotixkilla/fix-identify-customers-with-pending-data

Identify customers with manual pending data
This commit is contained in:
Rafael Taranto 2022-01-17 22:08:37 +00:00 committed by GitHub
commit 96f202e868
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)]} />
}
]