Commit bcafa22e authored by Muhammadali's avatar Muhammadali

update-

parent e600c497
{
"name": "boxdialer",
"version": "3.3.6",
"version": "3.3.7",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -7,31 +7,31 @@ const ControlRenderBX = () => {
console.log('boxdialer_wsphone_data: ', window.alovoice_wsphone);
useEffect(() => {
setWsphonedata(window.alovoice_wsphone);
// if (!window.alovoice_wsphone) {
// setWsphonedata({
// iscloud: true,
// number: '2020',
// wsurl: 'cld.alovoice.uz:61040',
// server_id: 40,
// secret: '97bff7',
// lefttime: 231461,
// reasons: ['free', 'outcalls', 'home', 'totop'],
// reason: 'free',
// variant: 'bxmini',
// position: 'bottomRight',
// });
// }
if (!window.alovoice_wsphone) {
setWsphonedata({
iscloud: true,
number: '2020',
wsurl: 'cld.alovoice.uz:61040',
server_id: 40,
secret: '97bff7',
lefttime: 231461,
reasons: ['free', 'outcalls', 'home', 'totop'],
reason: 'free',
variant: 'bxmini',
position: 'bottomRight',
});
}
}, []);
return (
<div>
{/* {wsphonedata?.number && (
{wsphonedata?.number && (
<Root
setWsphonedata={setWsphonedata}
onSetDnd={window.alovoice_onsetdnd}
wsphonedata={wsphonedata}
/>
)} */}
)}
</div>
);
};
......
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