From a3765c19e39e4ecbee6849f0cdee027be0dbf229 Mon Sep 17 00:00:00 2001 From: Esteban Ecallard <100437198+EstebX@users.noreply.github.com> Date: Wed, 29 May 2024 12:32:47 +0000 Subject: [PATCH] feat: if the time seems too long it remains at 0s --- .../livewire/project/application/deployment/index.blade.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/views/livewire/project/application/deployment/index.blade.php b/resources/views/livewire/project/application/deployment/index.blade.php index 6b66d0183..d4bcdd8e3 100644 --- a/resources/views/livewire/project/application/deployment/index.blade.php +++ b/resources/views/livewire/project/application/deployment/index.blade.php @@ -140,7 +140,11 @@ } }, measure_finished_time() { - return this.finished_time; + if (this.finished_time > 2000) { + return 0; + } else { + return this.finished_time; + } }, measure_since_started() { return dayjs.utc(created_at).fromNow();