mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-23 16:37:52 +01:00
fix(flags): group filters acting funky (#25447)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
32cca0c287
commit
376279d41d
@ -101,11 +101,19 @@ export default defineConfig({
|
||||
.on('error', (err) => console.log('Redis client error', err))
|
||||
.connect()
|
||||
// Clear cache
|
||||
for await (const key of redisClient.scanIterator({ TYPE: 'string', MATCH: '*cache*', COUNT: 500 })) {
|
||||
for await (const key of redisClient.scanIterator({
|
||||
TYPE: 'string',
|
||||
MATCH: '*cache*',
|
||||
COUNT: 500,
|
||||
})) {
|
||||
await redisClient.del(key)
|
||||
}
|
||||
// Also clear the more ephemeral async query statuses
|
||||
for await (const key of redisClient.scanIterator({ TYPE: 'string', MATCH: 'query_async*', COUNT: 500 })) {
|
||||
for await (const key of redisClient.scanIterator({
|
||||
TYPE: 'string',
|
||||
MATCH: 'query_async*',
|
||||
COUNT: 500,
|
||||
})) {
|
||||
await redisClient.del(key)
|
||||
}
|
||||
await redisClient.quit()
|
||||
@ -117,5 +125,6 @@ export default defineConfig({
|
||||
},
|
||||
baseUrl: 'http://localhost:8000',
|
||||
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
||||
chromeWebSecurity: false,
|
||||
},
|
||||
})
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 173 KiB After Width: | Height: | Size: 173 KiB |
@ -73,7 +73,7 @@ export function OperatorValueSelect({
|
||||
}: OperatorValueSelectProps): JSX.Element {
|
||||
const propertyDefinition = propertyDefinitions.find((pd) => pd.name === propertyKey)
|
||||
|
||||
const isCohortProperty = propertyKey === 'id'
|
||||
const isCohortProperty = propertyKey === 'id' && type === PropertyFilterType.Cohort
|
||||
|
||||
// DateTime properties should not default to Exact
|
||||
const isDateTimeProperty = propertyDefinition?.property_type == PropertyType.DateTime
|
||||
|
Loading…
Reference in New Issue
Block a user