mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-02 18:18: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>
|
||||||
<div class="ui fitted hidden divider"></div>
|
<div class="ui fitted hidden divider"></div>
|
||||||
|
|
||||||
|
@if (Model.User.IsAdmin)
|
||||||
|
{
|
||||||
@await Html.PartialAsync("Partials/AdminSetGrantedSlotsFormPartial", Model.ProfileUser)
|
@await Html.PartialAsync("Partials/AdminSetGrantedSlotsFormPartial", Model.ProfileUser)
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue