Skip to content

Commit

Permalink
fix: display disabled courses in dash pages
Browse files Browse the repository at this point in the history
  • Loading branch information
VaiTon committed Oct 3, 2023
1 parent 85480d4 commit f920d60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/dash/[course]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
{@const disabled = !activeYears.includes(teaching)}
{@const href = base + '/' + teaching.url}
<li
class:disabled
class="flex flex-row xs:flex-1 justify-center border-base-content items-center m-2 border-2 rounded-md join"
>
<a href={disabled ? null : href} class="text-center text-lg join-item">
Expand Down

1 comment on commit f920d60

@vercel
Copy link

@vercel vercel bot commented on f920d60 Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dynamik – ./

dynamik-git-main-csunibo.vercel.app
dynamik.vercel.app
dynamik-csunibo.vercel.app

Please sign in to comment.