Fix display of associated servers when viewing an administrative user in the Admin CP.

This commit is contained in:
Dane Everitt 2017-05-01 15:28:43 -04:00
parent ae6b0f5c5e
commit 6dc1c15739
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 43 additions and 2 deletions

View file

@ -126,7 +126,7 @@
</tr>
</thead>
<tbody>
@foreach($user->access()->get() as $server)
@foreach($user->setAccessLevel('subuser')->access()->get() as $server)
<tr>
<td><a href="{{ route('server.index', $server->uuidShort) }}/"><i class="fa fa-tachometer"></i></a></td>
<td><code>{{ $server->uuidShort }}</code></td>