katja's git: oeffisearch

fast and simple tripplanner

commit 8e0b9e8bec58ac80ba1ff6513af81299ddef3aa0
parent fd415e3ff51f0d4ce2aa2e434a2712a618d8485c
Author: Katja (ctucx) <git@ctu.cx>
Date: Thu, 17 Apr 2025 14:13:16 +0200

journeysCanvas: request train types on `db` and `rmv` profile
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/journeysCanvas.js b/src/journeysCanvas.js
@@ -227,6 +227,7 @@ export class JourneysCanvas extends BaseView {
 
 	getCoachSequences = async () => {
 		if (this.isOffline !== false) return;
+		if (!['db', 'rmv'].includes(this.viewState.profile)) return;
 
 		this.isUpdating = true;
 		for (const journey of this.viewState.journeys) {