Better counting of total (don't convert collection to array)
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<p>You're logged in. This will be a link to the Dashboard.</p>
|
<p>You're logged in. This will be a link to the Dashboard.</p>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if(count($components) > 0)
|
@if($components->count() > 0)
|
||||||
<div class='page-header'>
|
<div class='page-header'>
|
||||||
<ul class='list-group components'>
|
<ul class='list-group components'>
|
||||||
@foreach($components as $component)
|
@foreach($components as $component)
|
||||||
|
|||||||
Reference in New Issue
Block a user