beyond-all-reason / teiserver

Middleware server for online gaming
https://www.beyondallreason.info/
MIT License
50 stars 47 forks source link

There are two site config menu items in Admin webpage #241

Closed jauggy closed 4 months ago

jauggy commented 5 months ago

I can't set labels but this would be a good first issue as it's easy to fix.

image

Go to localhost:4000 > Admin and you will see two site configs.

I think you can search for this:


  <.menu_card
    :if={allow_any?(@conn, ~w(Server))}
    icon={Teiserver.Config.SiteConfigLib.icon()}
    url={~p"/teiserver/admin/site"}
    size={:small}
  >
    Site config
  </.menu_card>

  <.menu_card
    :if={allow_any?(@conn, ~w(Server))}
    icon={Teiserver.Admin.ToolLib.icon()}
    url={~p"/teiserver/admin/tools"}
    size={:small}
  >
    Site config
  </.menu_card>
</div>

And change the second "Site config" to Tools