Skip to content

Commit

Permalink
fix: playlist should track current session id (#25730)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra authored Oct 22, 2024
1 parent 2ed9615 commit d93e17c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export function SessionRecordingsPlaylistScene(): JSX.Element {
onFiltersChange={setFilters}
onPinnedChange={onPinnedChange}
pinnedRecordings={pinnedRecordings ?? []}
updateSearchParams={true}
/>
</div>
) : null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ export const sessionRecordingsPlaylistLogic = kea<sessionRecordingsPlaylistLogic
] => {
const params: Params = objectClean({
...router.values.searchParams,
filters: values.filters ?? undefined,
filters: objectsEqual(values.filters, getDefaultFilters(props.personUUID)) ? undefined : values.filters,
sessionRecordingId: values.selectedRecordingId ?? undefined,
})

Expand Down

0 comments on commit d93e17c

Please sign in to comment.