From 225b8d56447f0152af12530c240a1c423224ab87 Mon Sep 17 00:00:00 2001 From: Ethan Seys Date: Thu, 14 Nov 2024 13:28:27 -0600 Subject: [PATCH] Fixed check_time() --- src/routes/(authed)/dash/sessions/[sessionId]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/(authed)/dash/sessions/[sessionId]/+page.svelte b/src/routes/(authed)/dash/sessions/[sessionId]/+page.svelte index f578780..e8964d7 100644 --- a/src/routes/(authed)/dash/sessions/[sessionId]/+page.svelte +++ b/src/routes/(authed)/dash/sessions/[sessionId]/+page.svelte @@ -112,7 +112,7 @@ {data.sessionInfo.sessionType.category} - {data.sessionInfo.sessionType.name}

Duration: {data.sessionInfo.sessionType.length} minutes

- {#if data.isMentor || check_time(data.sessionInfo.session.start)} + {#if data.isMentor || !check_time(data.sessionInfo.session.start)}

Session Actions