Skip to content

Commit

Permalink
Merge branch 'main' into feat/gh_464
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu authored Nov 15, 2024
2 parents f61615c + e32664d commit f071292
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/containers/internal/views/recent-calls/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ export const RecentCalls = () => {
{!hasValue(calls) && hasLength(accounts) ? (
<Spinner />
) : 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>
)}
Expand Down

0 comments on commit f071292

Please sign in to comment.