mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-24 01:18:01 +02:00
refactor: fix empty project member count (#947)
This commit is contained in:
parent
35262e404b
commit
23c977e0ea
@ -105,7 +105,7 @@ export const ProjectListNew = () => {
|
|||||||
<ProjectCard
|
<ProjectCard
|
||||||
onHover={() => handleHover(project?.id)}
|
onHover={() => handleHover(project?.id)}
|
||||||
name={project?.name}
|
name={project?.name}
|
||||||
memberCount={project?.memberCount}
|
memberCount={project?.memberCount ?? 0}
|
||||||
health={project?.health}
|
health={project?.health}
|
||||||
id={project?.id}
|
id={project?.id}
|
||||||
featureCount={project?.featureCount}
|
featureCount={project?.featureCount}
|
||||||
|
@ -7,7 +7,7 @@ export interface IProjectCard {
|
|||||||
health: number;
|
health: number;
|
||||||
description: string;
|
description: string;
|
||||||
featureCount: number;
|
featureCount: number;
|
||||||
memberCount: number;
|
memberCount?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IProject {
|
export interface IProject {
|
||||||
|
Loading…
Reference in New Issue
Block a user