Commit 039c9f64 authored by Muhammadali's avatar Muhammadali

update-

parent 01afdb55
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.8.31", "version": "4.8.32",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -40,7 +40,8 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => { ...@@ -40,7 +40,8 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => {
function updateChat() { function updateChat() {
if ( if (
now_no_active >= no_active_delay && now_no_active >= no_active_delay &&
(!modalState.bool || !innerCallerModal.bool) !modalState.bool &&
!innerCallerModal.bool
) { ) {
location.reload(); location.reload();
return; return;
...@@ -51,7 +52,12 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => { ...@@ -51,7 +52,12 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => {
updateChat(); updateChat();
}, 1000); }, 1000);
document.onmousemove = activeUser; document.onmousemove = activeUser;
console.log('modalState_bool: ', !modalState.bool, !innerCallerModal.bool); console.log(
'modalState_bool: ',
!modalState.bool,
!innerCallerModal.bool,
!modalState.bool && !innerCallerModal.bool,
);
// ====================================================== // ======================================================
useEffect(() => { useEffect(() => {
......
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