Don't show components div if we have no components

This commit is contained in:
James Brooks 2015-06-18 20:50:43 +01:00
parent 26857597f0
commit 60f6bec8bc

View File

@ -37,9 +37,11 @@
</div>
@endif
@if(!$componentGroups->isEmpty() || !$ungroupedComponents->isEmpty())
<div class="section-components">
@include('partials.components')
</div>
@endif
@if($displayMetrics && Setting::get('display_graphs'))
<div class="section-metrics">