Home page performance optimisations
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
@if ($x=$user->accounts_all->count())
|
||||
@if($x=$o->accounts_all->count())
|
||||
<table class="table table-striped table-hover" id="accounts">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -14,7 +14,10 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($user->accounts_all as $ao)
|
||||
@foreach($o->accounts_all as $ao)
|
||||
@php
|
||||
$ao->load(['services:id,active,account_id']);
|
||||
@endphp
|
||||
<tr>
|
||||
<td><a href="{{ url('r/switch/start',$ao->user_id) }}"><i class="fas fa-external-link-alt"></i></a></td>
|
||||
<td>{{ $ao->name }}</td>
|
||||
|
Reference in New Issue
Block a user