Correct estimation circle behavior (#2361)

Signed-off-by: muhtimur <timur.mukhamedishin@xored.com>

Signed-off-by: muhtimur <timur.mukhamedishin@xored.com>
This commit is contained in:
Timur Mukhamedishin 2022-11-08 15:04:04 +07:00 committed by GitHub
parent 23641ac365
commit 314aea3b2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,10 @@
<div class="estimation-container" on:click>
<div class="icon">
<EstimationProgressCircle value={Math.max(value.reportedTime, childReportTime)} max={value.estimation} />
<EstimationProgressCircle
value={Math.max(value.reportedTime, childReportTime)}
max={childEstimationTime || value.estimation}
/>
</div>
<span class="overflow-label label flex-row-center flex-nowrap text-md">
{#if value.reportedTime > 0 || childReportTime > 0}