Show only percent in repartition preview

This commit is contained in:
wpetit 2020-04-23 09:38:59 +02:00
parent 7e89fc43f9
commit f48f89ceab
1 changed files with 3 additions and 3 deletions

View File

@ -16,11 +16,11 @@ const RepartitionPreview: FunctionalComponent<RepartitionPreviewProps> = ({ proj
<table class="table is-bordered is-striped is-fullwidth">
<thead>
<tr>
<th colSpan={2}>Répartition moyenne pondérée</th>
<th colSpan={2}>Répartition moyenne</th>
</tr>
<tr>
<th>Catégorie</th>
<th>Temps</th>
<th>Temps (en %)</th>
</tr>
</thead>
<tbody>
@ -34,7 +34,7 @@ const RepartitionPreview: FunctionalComponent<RepartitionPreviewProps> = ({ proj
return (
<tr key={`task-category-${tc.id}`}>
<td>{tc.label}</td>
<td>~ {mean} <ProjectTimeUnit project={project} /> <span class="is-size-7 is-pulled-right">({percent} %)</span></td>
<td>{percent} %</td>
</tr>
);
})