Commit 4ceb5dd8 authored by Muhammadali's avatar Muhammadali

update-

parent 9334aa0b
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.7.6", "version": "2.7.7",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -36,17 +36,15 @@ const CallHistoryInputDropdown = ({ ...@@ -36,17 +36,15 @@ const CallHistoryInputDropdown = ({
{Boolean(call_history.length) && ( {Boolean(call_history.length) && (
<> <>
<ModalDropDown visiblevalue={modal}> <ModalDropDown visiblevalue={modal}>
<ModalDropDown.Inset id='data'> <ModalDropDown.Inset
id='data'
hoverBool={call_history.length - numberSelectHistory === index}>
{call_history.reverse().map((value, index) => ( {call_history.reverse().map((value, index) => (
<p <p
style={{ border: '1px solid red' }}
className='item' className='item'
key={index} key={index}
onClick={() => selectFuncInset(value)}> onClick={() => selectFuncInset(value)}>
{value}:{' '} {value}
{call_history.length - numberSelectHistory === index
? 'true'
: 'false'}
</p> </p>
))} ))}
</ModalDropDown.Inset> </ModalDropDown.Inset>
......
...@@ -88,6 +88,7 @@ ModalDropDown.Inset = styled.div` ...@@ -88,6 +88,7 @@ ModalDropDown.Inset = styled.div`
:hover { :hover {
background-color: #00000014; background-color: #00000014;
} }
background-color: ${({ hoverBool }) => (hoverBool ? '#00000014' : '')};
} }
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 5px; width: 5px;
......
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