|
@@ -134,6 +134,8 @@ const startCallTimer = (second: any) => {
|
|
|
const handleClick = (index: string | number, item: { state: string }) => {
|
|
|
textRef.value = textRefs.value[index];
|
|
|
call.value = item;
|
|
|
+ talkTime.value = 0;
|
|
|
+ if (talkTimer.value) talkTimer.value.pause();
|
|
|
if (["busy", "held"].includes(item.state)) {
|
|
|
getExtensionStatus({ telno: item.telNo }).then((res: any) => {
|
|
|
hidePopover.value = true;
|