Skip to content

Commit

Permalink
chore(frontend): support attachments for gesture click
Browse files Browse the repository at this point in the history
  • Loading branch information
abhaysood committed Dec 9, 2024
1 parent 3ad9af2 commit ddc7a63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function SessionReplayEventDetails({
function getAttachmentsFromEventDetails(): ReactNode {
if (eventDetails.attachments !== undefined && eventDetails.attachments !== null && eventDetails.attachments.length > 0) {
// Return screenshots for exceptions
if ((eventType === "exception" && eventDetails.user_triggered === false) || eventType === 'anr') {
if ((eventType === "exception" && eventDetails.user_triggered === false) || eventType === 'anr' || eventType === 'gesture_click') {
return (
<div className='flex flex-wrap gap-8 px-4 pt-4 items-center'>
{eventDetails.attachments.map((attachment: {
Expand Down

0 comments on commit ddc7a63

Please sign in to comment.