Skip to content

Commit

Permalink
fix: custom player inspector events should respect mini filters (#20929)
Browse files Browse the repository at this point in the history
* fix: custom player inspector events should respect mini filters

* all the alls
  • Loading branch information
pauldambra authored Mar 14, 2024
1 parent 8ec8a0f commit c32a07d
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,15 @@ export const playerInspectorLogic = kea<playerInspectorLogicType>([

// always show offline status changes
if (item.type === 'offline-status' || item.type === 'browser-visibility') {
include = true
include =
tab === SessionRecordingPlayerTab.DOCTOR ||
!!(
miniFiltersByKey['performance-all']?.enabled ||
miniFiltersByKey['all-everything']?.enabled ||
miniFiltersByKey['all-automatic']?.enabled ||
miniFiltersByKey['console-all']?.enabled ||
miniFiltersByKey['events-all']?.enabled
)
}

if (item.type === SessionRecordingPlayerTab.DOCTOR && tab === SessionRecordingPlayerTab.DOCTOR) {
Expand Down

0 comments on commit c32a07d

Please sign in to comment.