From 3d6d496fca88f1007c8c947a0aa9a96dbab5cdf0 Mon Sep 17 00:00:00 2001
From: Fred Boniface
Date: Thu, 13 Jul 2023 22:24:14 +0100
Subject: [PATCH] Bump version
---
src/lib/stores/version.js | 2 +-
src/lib/train/train-detail.svelte | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/stores/version.js b/src/lib/stores/version.js
index 15e1eea..a1b7286 100644
--- a/src/lib/stores/version.js
+++ b/src/lib/stores/version.js
@@ -1,3 +1,3 @@
export const version = '2023.7.1';
-export const versionTag = 'beta.4';
+export const versionTag = 'beta.5';
export const showWelcome = true;
diff --git a/src/lib/train/train-detail.svelte b/src/lib/train/train-detail.svelte
index 16cf9af..6a8d9b5 100644
--- a/src/lib/train/train-detail.svelte
+++ b/src/lib/train/train-detail.svelte
@@ -52,7 +52,7 @@
Planned Type: {parseInt(serviceDetail.planSpeed) || 68}mph {serviceDetail.powerType || 'Bus'}
- Days Run: {serviceDetail.daysRun.join(', ').toUpperCase()}
+ Days Run: {serviceDetail?.daysRun.join(', ').toUpperCase() || 'Unknown'}
Valid From: {new Date(serviceDetail.scheduleStartDate).toLocaleDateString('en-GB', {