forked from github/plane
fix: removed extra spaces form estimate points brackets (#837)
This commit is contained in:
parent
363c5c8ec4
commit
5a36a7931f
@ -152,14 +152,16 @@ export const SingleEstimate: React.FC<Props> = ({
|
|||||||
</CustomMenu>
|
</CustomMenu>
|
||||||
</div>
|
</div>
|
||||||
{estimatePoints && estimatePoints.length > 0 ? (
|
{estimatePoints && estimatePoints.length > 0 ? (
|
||||||
<div className="flex gap-2 text-sm text-gray-400">
|
<div className="flex text-sm text-gray-400">
|
||||||
Estimate points(
|
Estimate points (
|
||||||
{estimatePoints.map((point, index) => (
|
<span className="flex gap-1">
|
||||||
<h6 key={point.id}>
|
{estimatePoints.map((point, index) => (
|
||||||
{point.value}
|
<h6 key={point.id}>
|
||||||
{index !== estimatePoints.length - 1 && ","}{" "}
|
{point.value}
|
||||||
</h6>
|
{index !== estimatePoints.length - 1 && ","}{" "}
|
||||||
))}
|
</h6>
|
||||||
|
))}
|
||||||
|
</span>
|
||||||
)
|
)
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
|
Loading…
Reference in New Issue
Block a user