Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin committed Jun 19, 2024
1 parent 1cd88d1 commit c726061
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ function convertUniversalFiltersToLegacyFilters(universalFilters: RecordingUnive
} else if (f.key === 'console_log_query') {
console_search_query = (f.value || '') as string
} else if (f.key === 'snapshot_source') {
snapshot_source = f
const value = f.value as string[] | null
if (value) {
snapshot_source = f
}
}
} else {
properties.push(f)
Expand Down Expand Up @@ -504,6 +507,7 @@ export const sessionRecordingsPlaylistLogic = kea<sessionRecordingsPlaylistLogic
{
loadSessionRecordingsFailure: () => true,
loadSessionRecordingSuccess: () => false,
setUniversalFilters: () => false,
setAdvancedFilters: () => false,
setSimpleFilters: () => false,
loadNext: () => false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def _having_predicates(self) -> ast.And | Constant:
),
)

if self._filter.snapshot_source_filter and self._filter.snapshot_source_filter.value:
if self._filter.snapshot_source_filter:
op = (
ast.CompareOperationOp.In
if self._filter.snapshot_source_filter.operator == "exact"
Expand Down

0 comments on commit c726061

Please sign in to comment.