mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
fix: when health is 0 we should not show 100 (#2833)
This commit is contained in:
parent
711c867ccc
commit
5ac08e06d9
@ -419,7 +419,7 @@ class ProjectStore implements IProjectStore {
|
||||
name: row.name,
|
||||
description: row.description,
|
||||
createdAt: row.created_at,
|
||||
health: row.health || 100,
|
||||
health: row.health ?? 100,
|
||||
updatedAt: row.updated_at || new Date(),
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user