mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-02-09 15:09:48 +00:00
fixed recents call show call from another account (#467)
This commit is contained in:
@@ -157,7 +157,10 @@ export const RecentCalls = () => {
|
|||||||
{!hasValue(calls) && hasLength(accounts) ? (
|
{!hasValue(calls) && hasLength(accounts) ? (
|
||||||
<Spinner />
|
<Spinner />
|
||||||
) : hasLength(calls) ? (
|
) : hasLength(calls) ? (
|
||||||
calls.map((call) => <DetailsItem key={call.call_sid} call={call} />)
|
//call.call_sid is null incase of failure, cannot be used as key
|
||||||
|
calls.map((call) => (
|
||||||
|
<DetailsItem key={call.sip_callid} call={call} />
|
||||||
|
))
|
||||||
) : (
|
) : (
|
||||||
<M>No data.</M>
|
<M>No data.</M>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user