From d35f80a2f42d97bd76e7c02ff7ee75851d076125 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Sat, 13 Jan 2024 14:01:38 +0530 Subject: [PATCH] fix: added more call status --- frontend/src/pages/CallLog.vue | 6 ++++++ frontend/src/pages/CallLogs.vue | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/frontend/src/pages/CallLog.vue b/frontend/src/pages/CallLog.vue index 2cc0036e..eb6a8a54 100644 --- a/frontend/src/pages/CallLog.vue +++ b/frontend/src/pages/CallLog.vue @@ -249,6 +249,9 @@ const breadcrumbs = computed(() => [ const statusLabelMap = { Completed: 'Completed', Busy: 'Declined', + Failed: 'Failed', + Queued: 'Queued', + Cancelled: 'Cancelled', Ringing: 'Ringing', 'No Answer': 'Missed Call', 'In Progress': 'In Progress', @@ -257,6 +260,9 @@ const statusLabelMap = { const statusColorMap = { Completed: 'green', Busy: 'orange', + Failed: 'red', + Queued: 'gray', + Cancelled: 'gray', Ringing: 'gray', 'No Answer': 'red', 'In Progress': 'blue', diff --git a/frontend/src/pages/CallLogs.vue b/frontend/src/pages/CallLogs.vue index e691517c..d5e3e20c 100644 --- a/frontend/src/pages/CallLogs.vue +++ b/frontend/src/pages/CallLogs.vue @@ -120,6 +120,9 @@ const rows = computed(() => { const statusLabelMap = { Completed: 'Completed', Busy: 'Declined', + Failed: 'Failed', + Queued: 'Queued', + Cancelled: 'Cancelled', Ringing: 'Ringing', 'No Answer': 'Missed Call', 'In Progress': 'In Progress', @@ -128,6 +131,9 @@ const statusLabelMap = { const statusColorMap = { Completed: 'green', Busy: 'orange', + Failed: 'red', + Queued: 'gray', + Cancelled: 'gray', Ringing: 'gray', 'No Answer': 'red', 'In Progress': 'blue',