Commit e0ea8ff7 authored by Muhammadali's avatar Muhammadali

update-

parent edf57a1f
{
"name": "boxdialer",
"version": "2.8.9",
"version": "2.9.0",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -32,6 +32,14 @@ const CallHistoryInputDropdown = ({
}
}, [numberSelectHistory]);
useEffect(() => {
if (numberSelectHistory > 0) {
setModal(true);
} else if (numberSelectHistory == 0 || numberSelectHistory == 'zero') {
setModal(false);
}
}, [numberSelectHistory]);
return (
<Block>
<Input
......
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