diff --git a/src/screens/compliance-call-queue.screen.tsx b/src/screens/compliance-call-queue.screen.tsx index 4fe06fad8..7265563a3 100644 --- a/src/screens/compliance-call-queue.screen.tsx +++ b/src/screens/compliance-call-queue.screen.tsx @@ -32,8 +32,10 @@ export default function ComplianceCallQueueScreen(): JSX.Element { const showIp = queue === CallQueue.MANUAL_CHECK_IP_PHONE || queue === CallQueue.MANUAL_CHECK_IP_COUNTRY_PHONE; const showCountry = queue === CallQueue.MANUAL_CHECK_IP_COUNTRY_PHONE || queue === CallQueue.UNAVAILABLE_SUSPICIOUS; const showStatus = queue === CallQueue.UNAVAILABLE_SUSPICIOUS; + const showPhoneCallTimes = + queue === CallQueue.MANUAL_CHECK_PHONE || queue === CallQueue.MANUAL_CHECK_IP_COUNTRY_PHONE; - const columnCount = 5 + [isTxQueue, showIp, showCountry, showStatus].filter(Boolean).length; + const columnCount = 5 + [isTxQueue, showIp, showCountry, showStatus, showPhoneCallTimes].filter(Boolean).length; useEffect(() => { if (!isLoggedIn || !queue) return; @@ -99,6 +101,11 @@ export default function ComplianceCallQueueScreen(): JSX.Element { {translate('screens/compliance', 'Date')} + {showPhoneCallTimes && ( + + {translate('screens/compliance', 'Phone Call Times')} + + )} @@ -134,6 +141,9 @@ export default function ComplianceCallQueueScreen(): JSX.Element { {new Date(item.date).toLocaleDateString('de-CH')} + {showPhoneCallTimes && ( + {item.phoneCallTimes || '-'} + )} )) ) : (