Use isNotEmpty

This commit is contained in:
James Brooks
2017-01-21 17:30:44 +00:00
parent 9146870f3f
commit a4571dab7b

View File

@@ -1,4 +1,4 @@
@if(!$component_groups->isEmpty() || !$ungrouped_components->isEmpty())
@if($component_groups->isNotEmpty() || $ungrouped_components->isNotEmpty())
<div class="section-components">
@include('partials.components')
</div>