fix:build error
This commit is contained in:
parent
ef707baeec
commit
f35eb87af6
@ -1,8 +1,6 @@
|
|||||||
import { formatValue } from '../../lib/format';
|
import { formatValue } from '../../lib/format';
|
||||||
|
|
||||||
export function CallCard({ row }: { row: Record<string, any> }) {
|
export function CallCard({ row }: { row: Record<string, any> }) {
|
||||||
const instanceId = row.instance_id || '—';
|
|
||||||
|
|
||||||
// Status
|
// Status
|
||||||
const stateName = String(row.status || row.current_state_name || 'Pending');
|
const stateName = String(row.status || row.current_state_name || 'Pending');
|
||||||
const isProductive = stateName.toLowerCase().includes('productive') || stateName.toLowerCase().includes('completed') || stateName.toLowerCase().includes('success');
|
const isProductive = stateName.toLowerCase().includes('productive') || stateName.toLowerCase().includes('completed') || stateName.toLowerCase().includes('success');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user