Update Navbar partial to show the Server menu item for moderators.
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-05-26 20:38:19 +03:00
parent 80e99b7de8
commit 99188454e9
@@ -106,7 +106,7 @@ defmodule DecentralisedBookIndexWeb.Components.MyPartials.Navbar do
</a>
</li>
<% end %>
<%= if @current_user != nil and Role.can_administrate?(@current_user.role) do %>
<%= if @current_user != nil and Role.can_moderate?(@current_user.role) do %>
<li>
<a
href={~p"/servers/"}