Commit 0882a419 authored by Muhammadali's avatar Muhammadali

update-

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