Commit c8b6c416 authored by Muhammadali's avatar Muhammadali

update-

parent 5d1fefeb
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.8.13", "version": "4.8.14",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -29,6 +29,8 @@ const InnerCaller = ({ hidden, type, from, innerTimer }) => { ...@@ -29,6 +29,8 @@ const InnerCaller = ({ hidden, type, from, innerTimer }) => {
? `${ts.hours}:${ts.minutes}:${ts.seconds}` ? `${ts.hours}:${ts.minutes}:${ts.seconds}`
: `${ts.minutes}:${ts.seconds}`; : `${ts.minutes}:${ts.seconds}`;
}; };
console.log('callEvents_callHold: ', callEvents.callHold);
const selectModalType = (type) => { const selectModalType = (type) => {
switch (type) { switch (type) {
case 'connected': case 'connected':
...@@ -36,7 +38,6 @@ const InnerCaller = ({ hidden, type, from, innerTimer }) => { ...@@ -36,7 +38,6 @@ const InnerCaller = ({ hidden, type, from, innerTimer }) => {
<> <>
<div className='button timer'> <div className='button timer'>
<div>{dataFormatter(innerTimer)}</div> <div>{dataFormatter(innerTimer)}</div>
{console.log('callEvents_callHold: ', callEvents.callHold)}
<div onClick={() => boxDialer.holdButtonClick()}> <div onClick={() => boxDialer.holdButtonClick()}>
{callEvents.callHold ? ( {callEvents.callHold ? (
<PlayArrowIcon style={{ color: '#fff' }} /> <PlayArrowIcon style={{ color: '#fff' }} />
......
...@@ -898,6 +898,7 @@ export class BoxDialer { ...@@ -898,6 +898,7 @@ export class BoxDialer {
} }
holdButtonClick() { holdButtonClick() {
let { local } = this.callSession.isOnHold(); let { local } = this.callSession.isOnHold();
console.log('local: ', local);
if (local) { if (local) {
this.callSession.unhold(); this.callSession.unhold();
this.setGuiPhoneState({ this.setGuiPhoneState({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment