Update src/client/types/wrapper.ts
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
da1f8bb4f1
commit
88e44c9d15
@ -78,6 +78,13 @@ class journey_wrapper {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
day_cycle() {
|
||||||
|
if (this.sel_day >= this.leg_len() - 1) {
|
||||||
|
this.sel_day = 0;
|
||||||
|
} else {
|
||||||
|
this.day_next()
|
||||||
|
}
|
||||||
|
}
|
||||||
date_sel(): string {
|
date_sel(): string {
|
||||||
if (this.sel_day < 0) return "?";
|
if (this.sel_day < 0) return "?";
|
||||||
let leg = this.leg_get()
|
let leg = this.leg_get()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user