fix: added more call status
This commit is contained in:
parent
4718843c4c
commit
d35f80a2f4
@ -249,6 +249,9 @@ const breadcrumbs = computed(() => [
|
|||||||
const statusLabelMap = {
|
const statusLabelMap = {
|
||||||
Completed: 'Completed',
|
Completed: 'Completed',
|
||||||
Busy: 'Declined',
|
Busy: 'Declined',
|
||||||
|
Failed: 'Failed',
|
||||||
|
Queued: 'Queued',
|
||||||
|
Cancelled: 'Cancelled',
|
||||||
Ringing: 'Ringing',
|
Ringing: 'Ringing',
|
||||||
'No Answer': 'Missed Call',
|
'No Answer': 'Missed Call',
|
||||||
'In Progress': 'In Progress',
|
'In Progress': 'In Progress',
|
||||||
@ -257,6 +260,9 @@ const statusLabelMap = {
|
|||||||
const statusColorMap = {
|
const statusColorMap = {
|
||||||
Completed: 'green',
|
Completed: 'green',
|
||||||
Busy: 'orange',
|
Busy: 'orange',
|
||||||
|
Failed: 'red',
|
||||||
|
Queued: 'gray',
|
||||||
|
Cancelled: 'gray',
|
||||||
Ringing: 'gray',
|
Ringing: 'gray',
|
||||||
'No Answer': 'red',
|
'No Answer': 'red',
|
||||||
'In Progress': 'blue',
|
'In Progress': 'blue',
|
||||||
|
|||||||
@ -120,6 +120,9 @@ const rows = computed(() => {
|
|||||||
const statusLabelMap = {
|
const statusLabelMap = {
|
||||||
Completed: 'Completed',
|
Completed: 'Completed',
|
||||||
Busy: 'Declined',
|
Busy: 'Declined',
|
||||||
|
Failed: 'Failed',
|
||||||
|
Queued: 'Queued',
|
||||||
|
Cancelled: 'Cancelled',
|
||||||
Ringing: 'Ringing',
|
Ringing: 'Ringing',
|
||||||
'No Answer': 'Missed Call',
|
'No Answer': 'Missed Call',
|
||||||
'In Progress': 'In Progress',
|
'In Progress': 'In Progress',
|
||||||
@ -128,6 +131,9 @@ const statusLabelMap = {
|
|||||||
const statusColorMap = {
|
const statusColorMap = {
|
||||||
Completed: 'green',
|
Completed: 'green',
|
||||||
Busy: 'orange',
|
Busy: 'orange',
|
||||||
|
Failed: 'red',
|
||||||
|
Queued: 'gray',
|
||||||
|
Cancelled: 'gray',
|
||||||
Ringing: 'gray',
|
Ringing: 'gray',
|
||||||
'No Answer': 'red',
|
'No Answer': 'red',
|
||||||
'In Progress': 'blue',
|
'In Progress': 'blue',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user