Skip to content

Commit

Permalink
fix: talks breaking when on home page of a course
Browse files Browse the repository at this point in the history
  • Loading branch information
edeleastar committed Oct 26, 2023
1 parent 8f81ffd commit 4d20c93
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/src/lib/ui/learning-objects/structure/Context.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
<slot />
{/key}
</div>
<div class="hidden md:block">
<TopicContextPanel topic={lo.parentTopic} />
</div>
{#if lo.parentTopic}
<div class="hidden md:block">
<TopicContextPanel topic={lo.parentTopic} />
</div>
{/if}
</div>

0 comments on commit 4d20c93

Please sign in to comment.