mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
fix: last seen now will not break (#5634)
This commit is contained in:
parent
1191094981
commit
d00d27a9ac
@ -350,9 +350,9 @@ export const PaginatedProjectFeatureToggles = ({
|
|||||||
featureEnvironment?.name === env.environment,
|
featureEnvironment?.name === env.environment,
|
||||||
);
|
);
|
||||||
return [
|
return [
|
||||||
typeof env === 'string' ? env : env.environment,
|
env.environment,
|
||||||
{
|
{
|
||||||
name: env,
|
name: env.environment,
|
||||||
enabled: thisEnv?.enabled || false,
|
enabled: thisEnv?.enabled || false,
|
||||||
variantCount: thisEnv?.variantCount || 0,
|
variantCount: thisEnv?.variantCount || 0,
|
||||||
lastSeenAt: thisEnv?.lastSeenAt,
|
lastSeenAt: thisEnv?.lastSeenAt,
|
||||||
|
Loading…
Reference in New Issue
Block a user