fix: Session Replay tab not shown if no session source configured for trace (#702)

Ref: HDX-1496
This commit is contained in:
Aaron Knudtson 2025-03-24 13:48:51 -04:00 committed by GitHub
parent 2d6b5591a4
commit 50440835eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"@hyperdx/app": patch
---
Session Replay tab for traces is disabled unless the source is configured with a sessionId

View file

@ -275,7 +275,7 @@ export default function DBRowSidePanel({
text: 'Surrounding Context',
value: Tab.Context,
},
...(rumSessionId != null
...(rumSessionId != null && source.sessionSourceId
? [
{
text: 'Session Replay',