mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 16:11:05 +01:00
Fixes recreate static directory showing up for non-admins
This commit is contained in:
@@ -29,7 +29,7 @@ namespace TGS.ControlPanel
|
||||
{
|
||||
if (initializedStaticPage)
|
||||
return;
|
||||
if(Instance.Administration != null)
|
||||
if(Instance.Administration == null)
|
||||
RecreateStaticButton.Visible = false;
|
||||
BuildFileList();
|
||||
initializedStaticPage = true;
|
||||
|
||||
Reference in New Issue
Block a user