diff --git a/src/lib/features/feature-toggle/feature-toggle-strategies-store.ts b/src/lib/features/feature-toggle/feature-toggle-strategies-store.ts index 4fca52ad3e..54f2c65c2d 100644 --- a/src/lib/features/feature-toggle/feature-toggle-strategies-store.ts +++ b/src/lib/features/feature-toggle/feature-toggle-strategies-store.ts @@ -398,7 +398,7 @@ class FeatureStrategiesStore implements IFeatureStrategiesStore { acc.lastSeenAt == null || isAfter( new Date(r.env_last_seen_at), - new Date(acc[r.feature_name]), + new Date(acc.lastSeenAt), ) ) { acc.lastSeenAt = r.env_last_seen_at;