diff --git a/modules/rtrips/components/folk-trips-planner.ts b/modules/rtrips/components/folk-trips-planner.ts index 8c3862b..93d037f 100644 --- a/modules/rtrips/components/folk-trips-planner.ts +++ b/modules/rtrips/components/folk-trips-planner.ts @@ -421,10 +421,12 @@ class FolkTripsPlanner extends HTMLElement { private render() { this.shadow.innerHTML = ` ${this.error ? `
${this.esc(this.error)}
` : ""} +
${this.view === "ai-planner" ? this.renderAiPlanner() : this.view === "list" ? this.renderList() : this.renderDetail()} +
`; this.attachListeners(); if (this.view !== 'ai-planner') this._tour.renderOverlay(); @@ -555,6 +559,7 @@ class FolkTripsPlanner extends HTMLElement { +
${this.trips.length > 0 ? `
${this.trips.map(t => { const st = this.getStatusStyle(t.status || "PLANNING"); @@ -584,6 +589,7 @@ class FolkTripsPlanner extends HTMLElement {

No trips yet

Start planning your next adventure

`} +
`; } @@ -603,7 +609,7 @@ class FolkTripsPlanner extends HTMLElement { `` ).join("")} - ${this.renderTab()} +
${this.renderTab()}
`; }