Commit ea47d240 authored by Muhammadali's avatar Muhammadali

update

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