mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-10-23 11:54:25 +00:00
fix error when register status call-id is empty
This commit is contained in:
1 parent
986b9a5eeb
commit
3802dfc5bf
1 file changed
+1
@@ -24,6 +24,7 @@ export const PcapButton = ({
|
||||
const [pcap, setPcap] = useState<Pcap>();
|
||||
|
||||
useEffect(() => {
|
||||
if (!sipCallId) return;
|
||||
const p = accountSid
|
||||
? getRecentCall(accountSid, sipCallId)
|
||||
: getServiceProviderRecentCall(serviceProviderSid, sipCallId);
|
||||
|
||||
Reference in new issue
Block a user