Skip to content

Commit

Permalink
fix(replay-templates): support person properties (#25742)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
raquelmsmith and github-actions[bot] authored Oct 22, 2024
1 parent fa8c014 commit b210407
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ export const sessionReplayTemplatesLogic = kea<sessionReplayTemplatesLogicType>(
if (variable.type === 'flag' && variable.value) {
return getFlagFilterValue(variable.value)
}
if (['snapshot_source', 'event'].includes(variable.type) && variable.filterGroup) {
if (
['snapshot_source', 'event', 'person-property'].includes(variable.type) &&
variable.filterGroup
) {
return variable.filterGroup
}
return undefined
Expand Down

0 comments on commit b210407

Please sign in to comment.