Update src/client/types/wrapper.ts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
sora-ext 2025-03-03 17:52:05 +01:00
parent da1f8bb4f1
commit 88e44c9d15

View File

@ -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 {
if (this.sel_day < 0) return "?";
let leg = this.leg_get()