The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
make roadtrip availability checks explicit
Maurice51626e818417
diff --git a/client/src/components/Roadtrip/RoadtripCorridorPanel.tsx b/client/src/components/Roadtrip/RoadtripCorridorPanel.tsxindex e8d1fe2e5..8f8df5aeb 100644--- a/client/src/components/Roadtrip/RoadtripCorridorPanel.tsx+++ b/client/src/components/Roadtrip/RoadtripCorridorPanel.tsx@@ -332,7 +332,7 @@ export default function RoadtripCorridorPanel({ corridor, routes, onAddPoi, trip/></div>) : null}- {tripId && canImport && <GoogleRouteImport tripId={tripId} dayId={corridor.day?.dayId} />}+ {tripId !== undefined && tripId > 0 && canImport && <GoogleRouteImport tripId={tripId} dayId={corridor.day?.dayId} />}</div>{/* What to look for. */}diff --git a/server/src/nest/roadtrip/roadtrip-hazards.service.ts b/server/src/nest/roadtrip/roadtrip-hazards.service.tsindex fe112de8d..71f693e4a 100644--- a/server/src/nest/roadtrip/roadtrip-hazards.service.ts+++ b/server/src/nest/roadtrip/roadtrip-hazards.service.ts@@ -32,7 +32,7 @@ export class RoadtripHazardsService {async read(): Promise<RoadtripHazards> {if (this.cached && Date.now() - Date.parse(this.cached.fetchedAt) < 600000) return this.cached;- if (this.pending) return this.pending;+ if (this.pending !== undefined) return this.pending;this.pending = this.load();try { this.cached = await this.pending; return this.cached; }finally { this.pending = undefined; }