Commit c8b6c416 authored by Muhammadali's avatar Muhammadali

update-

parent 5d1fefeb
{
"name": "boxdialer",
"version": "4.8.13",
"version": "4.8.14",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -29,6 +29,8 @@ const InnerCaller = ({ hidden, type, from, innerTimer }) => {
? `${ts.hours}:${ts.minutes}:${ts.seconds}`
: `${ts.minutes}:${ts.seconds}`;
};
console.log('callEvents_callHold: ', callEvents.callHold);
const selectModalType = (type) => {
switch (type) {
case 'connected':
......@@ -36,7 +38,6 @@ const InnerCaller = ({ hidden, type, from, innerTimer }) => {
<>
<div className='button timer'>
<div>{dataFormatter(innerTimer)}</div>
{console.log('callEvents_callHold: ', callEvents.callHold)}
<div onClick={() => boxDialer.holdButtonClick()}>
{callEvents.callHold ? (
<PlayArrowIcon style={{ color: '#fff' }} />
......
......@@ -898,6 +898,7 @@ export class BoxDialer {
}
holdButtonClick() {
let { local } = this.callSession.isOnHold();
console.log('local: ', local);
if (local) {
this.callSession.unhold();
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