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,22 +25,26 @@ const CallHistoryInputDropdown = ({ inputValue, call_history, selectFunc }) => { ...@@ -25,22 +25,26 @@ const CallHistoryInputDropdown = ({ inputValue, call_history, selectFunc }) => {
value={inputValue}> value={inputValue}>
{inputValue} {inputValue}
</Input> </Input>
<ModalDropDown visiblevalue={modal}> {call_history.length && (
<ModalDropDown.Inset id='data'> <>
{call_history.reverse().map((value, index) => ( <ModalDropDown visiblevalue={modal}>
<p <ModalDropDown.Inset id='data'>
className='item' {call_history.reverse().map((value, index) => (
key={index} <p
onClick={() => selectFuncInset(value)}> className='item'
{value} key={index}
</p> onClick={() => selectFuncInset(value)}>
))} {value}
</ModalDropDown.Inset> </p>
</ModalDropDown> ))}
<ModalDropDown.FullWindow </ModalDropDown.Inset>
visiblevalue={modal} </ModalDropDown>
onClick={() => setModal(!modal)} <ModalDropDown.FullWindow
/> visiblevalue={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