Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/replay/src/coreHandlers/addBreadcrumbEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function addBreadcrumbEvent(replay: ReplayContainer, breadcrumb: Breadcru
return;
}

if (breadcrumb.category === 'ui.click') {
if (['ui.click', 'ui.input'].includes(breadcrumb.category || '')) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

l: IMHO we do not need the || '' part, it should still work with includes(undefined) - we can safe some bytes by doing includes(breadcrumb.category as string) (to satisfy TS)?

replay.triggerUserActivity();
} else {
replay.checkAndHandleExpiredSession();
Expand Down