Skip to content

Commit

Permalink
Fixed check_time()
Browse files Browse the repository at this point in the history
  • Loading branch information
EMcNugget committed Nov 14, 2024
1 parent bf60f91 commit e2e0283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/(authed)/dash/sessions/[sessionId]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
{data.sessionInfo.sessionType.category} - {data.sessionInfo.sessionType.name}
</p>
<p><b>Duration:</b> {data.sessionInfo.sessionType.length} minutes</p>
{#if data.isMentor || check_time(data.sessionInfo.session.start)}
{#if data.isMentor || !check_time(data.sessionInfo.session.start)}
<h2 class="font-bold text-lg">Session Actions</h2>
<div>
<Button
Expand Down

0 comments on commit e2e0283

Please sign in to comment.