mirror of
https://github.com/grokability/snipe-it.git
synced 2026-03-12 17:52:00 +08:00
Removed $user from gate check
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user