mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-31 17:28:39 +00:00
Dont show granted slots partial for moderators
This commit is contained in:
parent
5b1342c29d
commit
f17a6abda3
1 changed files with 4 additions and 1 deletions
|
@ -151,6 +151,9 @@
|
|||
</div>
|
||||
<div class="ui fitted hidden divider"></div>
|
||||
|
||||
@await Html.PartialAsync("Partials/AdminSetGrantedSlotsFormPartial", Model.ProfileUser)
|
||||
@if (Model.User.IsAdmin)
|
||||
{
|
||||
@await Html.PartialAsync("Partials/AdminSetGrantedSlotsFormPartial", Model.ProfileUser)
|
||||
}
|
||||
</div>
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue