fix: removal of the failed deployment condition, addition of since started instead of finished time

This commit is contained in:
Esteban Ecallard 2024-05-29 12:35:32 +00:00
parent a3765c19e3
commit e16bd194a3

View File

@ -92,15 +92,11 @@ class="w-6 h-6" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<div>
@if ($deployment->status !== 'in_progress')
Finished <span x-text="measure_since_started()">0s</span> in
@if ($deployment->status !== 'failed')
<span class="font-bold" x-text="measure_finished_time()">0s</span>
@else
<span class="font-bold">0s</span>
@endif
<span class="font-bold" x-text="measure_finished_time()">0s</span>
@else
Running for
@endif
<span class="font-bold" x-text="measure_finished_time()">0s</span>
<span class="font-bold" x-text="measure_since_started()">0s</span>
</div>
</div>
</div>