0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00

fix: Fix flaky dashboard e2e test (#21259)

This commit is contained in:
Nikita Vorobev 2024-04-02 14:03:22 +03:00 committed by GitHub
parent 1f2ff4ac32
commit a9035daafb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,8 +44,7 @@ export const propertyFilterLogic = kea<propertyFilterLogicType>([
listeners(({ actions, props, values }) => ({
// Only send update if value is set to something
setFilter: async ({ property }, breakpoint) => {
await breakpoint(300)
setFilter: async ({ property }) => {
if (props.sendAllKeyUpdates || property?.value || (property?.key && property.type === 'hogql')) {
actions.update()
}