Show only percent in repartition preview
This commit is contained in:
parent
7e89fc43f9
commit
f48f89ceab
|
@ -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>
|
||||
);
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue