Commit d94882d4 authored by Muhammadali's avatar Muhammadali

update version: 1.2.2

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