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:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user