Skip to content

Commit

Permalink
Hide mobile settings link for non admins
Browse files Browse the repository at this point in the history
  • Loading branch information
cephalization committed Oct 13, 2023
1 parent 9303885 commit b71ee3c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@
<AvatarGroup partialUsers={data.topic.members} />
</span>
</li>
<li><a href={data.settingsLink}><Settings /></a></li>
{#if data.admin}
<li><a href={data.settingsLink}><Settings /></a></li>
{/if}
</ul>
<p class="py-4">
{#if data.topic.description}
Expand Down

0 comments on commit b71ee3c

Please sign in to comment.