feat: if the time seems too long it remains at 0s

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

View File

@ -140,7 +140,11 @@ function goto(url) {
}
},
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();