Removed $user from gate check

This commit is contained in:
snipe
2026-03-11 15:05:39 +00:00
parent 5851e2cd68
commit 2dc2e6328f

View File

@@ -377,7 +377,7 @@
</div>
@endif
@can('manageContactInfo', $user)
@can('manageContactInfo')
<!-- address -->
@if (($user->address) || ($user->city) || ($user->state) || ($user->country))
<div class="row">
@@ -516,7 +516,7 @@
@endif
@can('manageContactInfo', $user)
@can('manageContactInfo')
@if ($user->email)
<!-- email -->
<div class="row">