commit c48be81f6b29a5d42a276f4a52413824661c6ed7
parent 48988312e45a45659994ef2833cb9708dec92738
Author: Yureka <yuka@yuka.dev>
Date: Sun, 1 Jan 2023 19:46:53 +0100
parent 48988312e45a45659994ef2833cb9708dec92738
Author: Yureka <yuka@yuka.dev>
Date: Sun, 1 Jan 2023 19:46:53 +0100
regionalExpress
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/searchView.js b/src/searchView.js @@ -26,7 +26,7 @@ const productIcons = { // DB "nationalExpress": "icon-ice", "national": "icon-ic", - "regionalExp": "icon-dzug", + "regionalExpress": "icon-dzug", // vbb, bvg "express": "icon-icice",
diff --git a/src/settings.js b/src/settings.js @@ -11,7 +11,7 @@ const defaultSettings = { products: { 'nationalExpress': true, 'national': true, - 'regionalExp': true, + 'regionalExpress': true, 'regional': true, 'suburban': true, 'bus': true,
diff --git a/src/tripView.js b/src/tripView.js @@ -57,7 +57,7 @@ const tripTemplate = (data, profile) => { }; let bahnExpertUrl = null; - if (data.line && (data.line.product == 'nationalExpress' || data.line.product == 'national' || data.line.product == 'regionalExp' || data.line.product == 'regional')) { + if (data.line && (data.line.product == 'nationalExpress' || data.line.product == 'national' || data.line.product == 'regionalExpress' || data.line.product == 'regional')) { bahnExpertUrl = 'https://bahn.expert/details/' + encodeURIComponent(getAdditionalName(data.line) || data.line.name) + '/' + Number(data.plannedDeparture); }