diff --git a/resources/views/dashboard/edit-list.blade.php b/resources/views/dashboard/edit-list.blade.php index 9d4daa0..f1c181a 100644 --- a/resources/views/dashboard/edit-list.blade.php +++ b/resources/views/dashboard/edit-list.blade.php @@ -1,7 +1,7 @@ @extends('dashboard.core') @section('dashboard-heading') - @if($export) + @if($export && count($rows) > 0) @endif diff --git a/resources/views/dashboard/view.blade.php b/resources/views/dashboard/view.blade.php index 4850f23..971e4f9 100644 --- a/resources/views/dashboard/view.blade.php +++ b/resources/views/dashboard/view.blade.php @@ -1,7 +1,9 @@ @extends('dashboard.core') @section('dashboard-heading') - + @if(count($rows) > 0) + + @endif @endsection @section('dashboard-body')