From 60f6bec8bcd83e066afac79481b0ec785f632e21 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Thu, 18 Jun 2015 20:50:43 +0100 Subject: [PATCH] Don't show components div if we have no components --- resources/views/index.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index 5be2ba6b5..beff2ef7b 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -37,9 +37,11 @@ @endif + @if(!$componentGroups->isEmpty() || !$ungroupedComponents->isEmpty())
@include('partials.components')
+ @endif @if($displayMetrics && Setting::get('display_graphs'))