Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: wrong time during a failed deployment

Esteban Ecallard8feece702cda
diff --git a/resources/views/livewire/project/application/deployment/index.blade.php b/resources/views/livewire/project/application/deployment/index.blade.php
index ea7262a27c..9c2d46b9a2 100644
--- a/resources/views/livewire/project/application/deployment/index.blade.php
+++ b/resources/views/livewire/project/application/deployment/index.blade.php
@@ -92,8 +92,13 @@
<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>