Commit 8f73b3ce authored by Muhammadali's avatar Muhammadali

update-2.2.6

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