Skip to content

Commit

Permalink
Added missing configuration check
Browse files Browse the repository at this point in the history
  • Loading branch information
xFutte committed Aug 1, 2022
1 parent 6d47d22 commit a7750f3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions web/src/components/Content.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@
<WindowItem>
<News {stories} />
</WindowItem>
<WindowItem>
<PrisonSentences {sentences} />
</WindowItem>
{#if Config.tabs.showPrisonSentences}
<WindowItem>
<PrisonSentences {sentences} />
</WindowItem>
{/if}
{#if Config.tabs.showCityNews}
<WindowItem>
<!-- Might be implemented of requested -->
Expand Down

0 comments on commit a7750f3

Please sign in to comment.