feat: if the time seems too long it remains at 0s
This commit is contained in:
parent
de3b8a10a0
commit
a3765c19e3
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user