Commit 3cf21849 authored by Muhammadali's avatar Muhammadali

update-

parent ce9b4f1b
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.9.4", "version": "2.9.5",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -181,7 +181,7 @@ const ModalPhoneNumpad = ({ ...@@ -181,7 +181,7 @@ const ModalPhoneNumpad = ({
// inset if ---------- // inset if ----------
// ------------------- // -------------------
Data = new Date(); var currentTime = new Date();
if (dynamicValue === 'connected') { if (dynamicValue === 'connected') {
if ( if (
Boolean(inputValue.toString().length) && Boolean(inputValue.toString().length) &&
...@@ -191,7 +191,7 @@ const ModalPhoneNumpad = ({ ...@@ -191,7 +191,7 @@ const ModalPhoneNumpad = ({
...call_history, ...call_history,
{ {
value: inputValue, 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); 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