Skip to content

Commit

Permalink
add to query debug view
Browse files Browse the repository at this point in the history
  • Loading branch information
tkaemming committed Aug 12, 2024
1 parent 36913ec commit 4d60b20
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions frontend/src/scenes/debug/Modifiers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,22 @@ export function Modifiers<Q extends { response?: Record<string, any>; modifiers?
value={query.modifiers?.optimizeJoinedFilters ?? response?.modifiers?.optimizeJoinedFilters}
/>
</LemonLabel>
<LemonLabel className={labelClassName}>
<div>Property Groups:</div>
<LemonSelect
options={[
{ value: true, label: 'Enabled' },
{ value: false, label: 'Disabled' },
]}
onChange={(value) =>
setQuery({
...query,
modifiers: { ...query.modifiers, usePropertyGroups: value },
})
}
value={query.modifiers?.usePropertyGroups ?? response?.modifiers?.usePropertyGroups}
/>
</LemonLabel>
</div>
)
}

0 comments on commit 4d60b20

Please sign in to comment.