ctucx.git: trainsearch

web based trip-planner, fork of https://cyberchaos.dev/yuka/trainsearch

commit bbcaabd306dafe36c9544c090961233bb22fda0e
parent cd75b5f0a8f6cfeb04b1dc9809a96a8e108a403b
Author: Yureka <yuka@yuka.dev>
Date: Tue, 4 Jun 2024 16:15:23 +0200

crash fix
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tripView.js b/src/tripView.js
@@ -42,7 +42,7 @@ const tripTemplate = (data, profile) => {
 					<tr>
 						<td colspan="4">
 							<span>${bahnExpertUrl ? html`
-								<a href="${bahnExpertUrl}">${lineDisplayName(line)}${data.direction ? html` → ${data.direction}` : ''}</a>
+								<a href="${bahnExpertUrl}">${lineDisplayName(data.line)}${data.direction ? html` → ${data.direction}` : ''}</a>
 							` : html `
 								${lineDisplayName(data.line)}${data.direction ? html` → ${data.direction}` : ''}
 							`}