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