Add the moderator role attribute for search the resources component.

This commit is contained in:
2025-04-17 12:21:46 +03:00
parent a2c22319f0
commit 3ee8b2ed0b
2 changed files with 12 additions and 1 deletions
@@ -18,6 +18,7 @@ defmodule DecentralisedBookIndexWeb.DbiServerLive.Index do
current_user={@current_user}
resource_type="server"
resource_new_url={~p"/servers/new"}
moderator_role={:admin}
/>
</div>