feat: if the time seems too long it remains at 0s
This commit is contained in:
parent
de3b8a10a0
commit
a3765c19e3
1 changed files with 5 additions and 1 deletions
|
|
@ -140,7 +140,11 @@ function goto(url) {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
measure_finished_time() {
|
measure_finished_time() {
|
||||||
return this.finished_time;
|
if (this.finished_time > 2000) {
|
||||||
|
return 0;
|
||||||
|
} else {
|
||||||
|
return this.finished_time;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
measure_since_started() {
|
measure_since_started() {
|
||||||
return dayjs.utc(created_at).fromNow();
|
return dayjs.utc(created_at).fromNow();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue