From c28623df7e77a934ddc4acb7bbcf8969d9dd87a5 Mon Sep 17 00:00:00 2001 From: Walnit Date: Mon, 6 May 2024 11:03:14 +0800 Subject: [PATCH 1/2] Changed starting location --- src/views/BookingPass.vue | 3 ++- src/views/Welcome.vue | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/BookingPass.vue b/src/views/BookingPass.vue index 96102ee..6f4f75a 100644 --- a/src/views/BookingPass.vue +++ b/src/views/BookingPass.vue @@ -33,7 +33,8 @@ Screenshot this page and show it to your tour guide. Please report to the - Event Horizon 5 minutes early so the tour can start on time. + front of the canteen (near the library entrance) 5 minutes early so + the tour can start on time.
Cancel booking
diff --git a/src/views/Welcome.vue b/src/views/Welcome.vue index 9db640c..96f1c4d 100644 --- a/src/views/Welcome.vue +++ b/src/views/Welcome.vue @@ -14,9 +14,9 @@

NUS High School Tour

- The tour will start from the Event Horizon and take roughly 30 minutes, - giving you an overview of our school's main facilities from the labs to - the lounges. + The tour will start from the front of the canteen (near the library + entrance) and take roughly 30 minutes, giving you an overview of our + school's main facilities.

From 828090fd686ac3faa4afd669284b78f2701d9eed Mon Sep 17 00:00:00 2001 From: Walnit Date: Mon, 6 May 2024 11:24:19 +0800 Subject: [PATCH 2/2] Upped capacity to show total capacity --- src/views/SelectTiming.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/SelectTiming.vue b/src/views/SelectTiming.vue index 22830ba..01f3628 100644 --- a/src/views/SelectTiming.vue +++ b/src/views/SelectTiming.vue @@ -92,7 +92,7 @@ export default { if (timing < currentTime) continue; if (numSlots <= 0) continue; const list = timing < 1200 ? morningSlots : afternoonSlots; - list[timing] = Math.max(list[timing] ?? 0, numSlots); + list[timing] = (list[timing] ?? 0) + numSlots; } this.noSlots =