Commit 3cf21849 authored by Muhammadali's avatar Muhammadali

update-

parent ce9b4f1b
{
"name": "boxdialer",
"version": "2.9.4",
"version": "2.9.5",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -181,7 +181,7 @@ const ModalPhoneNumpad = ({
// inset if ----------
// -------------------
Data = new Date();
var currentTime = new Date();
if (dynamicValue === 'connected') {
if (
Boolean(inputValue.toString().length) &&
......@@ -191,7 +191,7 @@ const ModalPhoneNumpad = ({
...call_history,
{
value: inputValue,
time: `${Data.getHours()}:${Data.getMinutes()} | ${Data.getDate()}, ${Data.getMonth()}, ${Data.getFullYear()}`,
time: `${currentTime.getHours()}:${currentTime.getMinutes()} | ${currentTime.getDate()}, ${currentTime.getMonth()}, ${currentTime.getFullYear()}`,
},
]);
localStorage.setItem('callhistory', newCallsStringify);
......
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