Commit d94882d4 authored by Muhammadali's avatar Muhammadali

update version: 1.2.2

parent 671cb918
{
"name": "boxdialer",
"version": "1.2.1",
"version": "1.2.2",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -13,8 +13,6 @@ const BxMiniWidjetUi = ({
onClick,
position,
}) => {
console.log('box_dialer_info', { position, widjetState });
return (
<BxMiniWidjetUiStyle
status={widjetState || ''}
......
......@@ -123,7 +123,7 @@ const ModalPhoneNumpad = ({
return (
<ModalPhoneNumpadStyle
position={position}
hidden={!phoneModal}
hiddenValue={!phoneModal}
variant={variant}
onClick={(e) => e.stopPropagation()}>
<ModalPhoneNumpadStyle.InputArea>
......
......@@ -14,8 +14,8 @@ const ModalPhoneNumpadStyle = styled.div`
bottom: 120px;
transition: 0.2s !important;
z-index: 999;
${({ hidden, position, variant }) =>
hidden
${({ hiddenValue, position, variant }) =>
hiddenValue
? boxDialerWidjetPosition[variant][position].numpad.hidden
: boxDialerWidjetPosition[variant][position].numpad.seen}
background-color: #c9d5d9;
......
......@@ -94,6 +94,7 @@ export class BoxDialer {
this.onSipStateChange.setDndTimer(this.timer.time);
}, 1000);
}
stopTimer() {
clearInterval(this.testTimer);
this.timer.time = 0;
......
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