Commit 0882a419 authored by Muhammadali's avatar Muhammadali

update-

parent 523f733c
{
"name": "boxdialer",
"version": "2.9.7",
"version": "2.9.8",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -102,6 +102,8 @@ const ModalPhoneNumpad = ({
selectedNumber = call_history.slice(numberSelectHistory * -1)[0]
? call_history.slice(numberSelectHistory * -1)[0]
: false;
console.log('call_history: ', call_history);
if (numberSelectHistory === 0) {
selectedNumber = '';
setNumberSelectHistory('zero');
......@@ -111,8 +113,7 @@ const ModalPhoneNumpad = ({
setNumberSelectHistory('zero');
}
if (selectedNumber) {
console.log('call_history: ', call_history);
// setInputValue(selectedNumber);
setInputValue(selectedNumber);
}
}
}, [numberSelectHistory]);
......
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