Commit 62c60fc5 authored by Muhammadali's avatar Muhammadali

update-

parent bc1b65b1
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.8.56", "version": "4.8.57",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -141,9 +141,8 @@ const Root = ({wsphonedata, onSetDnd, setWsphonedata, callMethod}) => { ...@@ -141,9 +141,8 @@ const Root = ({wsphonedata, onSetDnd, setWsphonedata, callMethod}) => {
} }
}; };
console.log(!wsphonedata, !wsphonedata?.number, !wsphonedata?.position, !wsphonedata && !wsphonedata?.number && !wsphonedata?.position) console.log('wsphonedata_variant: ', !wsphonedata, !wsphonedata?.number, !wsphonedata?.position, !wsphonedata && !wsphonedata?.number && !wsphonedata?.position)
if (!wsphonedata && !wsphonedata?.number && !wsphonedata?.position) return; if (!wsphonedata && !wsphonedata?.number && !wsphonedata?.position) return;
console.log('wsphonedata_variant: ', wsphonedata.variant, !wsphonedata, !wsphonedata?.number, !wsphonedata?.position)
return ( return (
<> <>
{selectWidjetType(wsphonedata.variant)} {selectWidjetType(wsphonedata.variant)}
......
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