mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +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,
|
name: row.name,
|
||||||
description: row.description,
|
description: row.description,
|
||||||
createdAt: row.created_at,
|
createdAt: row.created_at,
|
||||||
health: row.health || 100,
|
health: row.health ?? 100,
|
||||||
updatedAt: row.updated_at || new Date(),
|
updatedAt: row.updated_at || new Date(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user