mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Fix double call history & adding contact from history (#231)
This commit is contained in:
1 parent
488c8df5cb
commit
2411c39b95
6 files changed
+12
-6
No files matched your search
@@ -72,10 +72,10 @@ export const DialerHistory = ({ calls }) => {
|
||||
/>
|
||||
<IconButton onClick={() => handleCall(call.receiver)}>{<PhoneIcon />}</IconButton>
|
||||
|
||||
{getDisplayByNumber(call.transmitter) === call.transmitter && (
|
||||
{getDisplayByNumber(call.receiver) === call.receiver && (
|
||||
<IconButton
|
||||
onClick={() =>
|
||||
history.push(`/contacts/-1?addNumber=${call.transmitter}&referal=/phone/contacts`)
|
||||
history.push(`/contacts/-1?addNumber=${call.receiver}&referal=/phone/contacts`)
|
||||
}
|
||||
>
|
||||
<PersonAddIcon />
|
||||
|
||||
Reference in new issue
Block a user