Commit e600c497 authored by Muhammadali's avatar Muhammadali

update-

parent d370b124
{
"name": "boxdialer",
"version": "3.3.5",
"version": "3.3.6",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -4,23 +4,23 @@ import Root from '../root';
const ControlRenderBX = () => {
const [wsphonedata, setWsphonedata] = useState({});
console.log('boxdialer_wsphone_data: ', wsphonedata);
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 (
......
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