1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: is after undefined parsing (#5718)

This commit is contained in:
Mateusz Kwasniewski 2023-12-21 13:25:10 +01:00 committed by GitHub
parent efa691d120
commit 029af91e9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -398,7 +398,7 @@ class FeatureStrategiesStore implements IFeatureStrategiesStore {
acc.lastSeenAt == null || acc.lastSeenAt == null ||
isAfter( isAfter(
new Date(r.env_last_seen_at), new Date(r.env_last_seen_at),
new Date(acc[r.feature_name]), new Date(acc.lastSeenAt),
) )
) { ) {
acc.lastSeenAt = r.env_last_seen_at; acc.lastSeenAt = r.env_last_seen_at;