Commit ea47d240 authored by Muhammadali's avatar Muhammadali

update

parent 69877b82
{
"name": "boxdialer",
"version": "1.5.9",
"version": "1.6.0",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -4,7 +4,6 @@ import React from 'react';
import styled from 'styled-components';
const Block = styled.div`
border: 1px solid red;
width: 300px;
height: 60px;
background-color: #c9d5d9;
......
......@@ -248,7 +248,7 @@ export class BoxDialer {
}
}
setGuiPhoneState({ stateCode, funcName, funcParam }) {
if (window?.alovoice_wsphone && !!stateCode.length) {
if (window?.alovoice_wsphone && !!stateCode?.length) {
this.callBxMethods({
bxMethodName: 'CallCardSetUiState',
bxFuncParams: { uiState: this.getBxUiState(stateCode) },
......
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