Skip to content

Commit

Permalink
- Updated Environment Details to only Global Admins
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanSoltis committed Jul 28, 2023
1 parent 13f40f7 commit 615edb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pages/Admin.razor
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</div>
</div>
}
@if (GeneralHelper.IsNotNull(environmentvariables))
@if ((currentuser == "GlobalAdmin") && (GeneralHelper.IsNotNull(environmentvariables)))
{
<div class="card mb-3" style="width:auto;">
<div class="card-header bg-default text-dark">
Expand Down

0 comments on commit 615edb0

Please sign in to comment.