From 1292201b05b5dce1ac1b0a96ad973759d3192d10 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 4 Jan 2017 23:28:37 -0500 Subject: [PATCH] Skip empty columns in the dashboard edit-list title block --- resources/views/dashboard/edit-list.blade.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/views/dashboard/edit-list.blade.php b/resources/views/dashboard/edit-list.blade.php index 239a98b..0258b87 100644 --- a/resources/views/dashboard/edit-list.blade.php +++ b/resources/views/dashboard/edit-list.blade.php @@ -31,10 +31,12 @@
@if(is_array($column)) @foreach($column as $col) -
{{ $row[$col] }}
+ @if($row[$col] != '') +
{{ $row[$col] }}
- @if(!$loop->last) -
|
+ @if(!$loop->last) +
|
+ @endif @endif @endforeach @else