fix: wrong time during a failed deployment
This commit is contained in:
parent
5682ab9570
commit
8feece702c
@ -92,8 +92,13 @@ 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
|
||||
@else
|
||||
Running for
|
||||
Running for <span class="font-bold" x-text="measure_finished_time()">0s</span>
|
||||
@endif
|
||||
<span class="font-bold" x-text="measure_finished_time()">0s</span>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user