From 8191921c6f9b705984ad7dba375dbe798a9d73be Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sun, 18 Jan 2015 21:07:42 +0000 Subject: [PATCH] Only show component picker if there are components to pick --- app/views/dashboard/incidents/add.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/dashboard/incidents/add.blade.php b/app/views/dashboard/incidents/add.blade.php index 0365bfbf..abf4bcba 100644 --- a/app/views/dashboard/incidents/add.blade.php +++ b/app/views/dashboard/incidents/add.blade.php @@ -54,6 +54,7 @@ {{ trans('cachet.incidents.status')[4] }} + @if($components->count() > 0)
{{ trans('forms.optional') }}
+ @endif