Commit 5fffbeb7 authored by Muhammadali's avatar Muhammadali

update-

parent 0882a419
{
"name": "boxdialer",
"version": "2.9.8",
"version": "2.9.9",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -81,11 +81,14 @@ const ModalPhoneNumpad = ({
(type === 'up' && numberSelectHistory < call_history.length) ||
numberSelectHistory === 'zero'
) {
console.log('numberSelectHistory: ', numberSelectHistory);
setNumberSelectHistory(
numberSelectHistory !== 'zero' ? numberSelectHistory + 1 : 0 + 1,
);
}
if (type === 'down' && numberSelectHistory > 0) {
console.log('numberSelectHistory: ', numberSelectHistory);
setNumberSelectHistory(
numberSelectHistory !== 'zero' ? numberSelectHistory - 1 : 0 - 1,
);
......@@ -102,7 +105,6 @@ 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 = '';
......
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