Commit 8f73b3ce authored by Muhammadali's avatar Muhammadali

update-2.2.6

parent b2120e96
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.2.5", "version": "2.2.6",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -25,6 +25,8 @@ const CallHistoryInputDropdown = ({ inputValue, call_history, selectFunc }) => { ...@@ -25,6 +25,8 @@ const CallHistoryInputDropdown = ({ inputValue, call_history, selectFunc }) => {
value={inputValue}> value={inputValue}>
{inputValue} {inputValue}
</Input> </Input>
{call_history.length && (
<>
<ModalDropDown visiblevalue={modal}> <ModalDropDown visiblevalue={modal}>
<ModalDropDown.Inset id='data'> <ModalDropDown.Inset id='data'>
{call_history.reverse().map((value, index) => ( {call_history.reverse().map((value, index) => (
...@@ -41,6 +43,8 @@ const CallHistoryInputDropdown = ({ inputValue, call_history, selectFunc }) => { ...@@ -41,6 +43,8 @@ const CallHistoryInputDropdown = ({ inputValue, call_history, selectFunc }) => {
visiblevalue={modal} visiblevalue={modal}
onClick={() => setModal(!modal)} onClick={() => setModal(!modal)}
/> />
</>
)}
</Block> </Block>
); );
}; };
......
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