From 5f1509d9c976367037dab3907eb17bcb9014ebf9 Mon Sep 17 00:00:00 2001 From: Ryan Mitchell Date: Tue, 14 Nov 2023 13:46:31 +0000 Subject: [PATCH] [4.x] Hide export submissions button when there are no valid exporters (#8985) --- resources/views/forms/show.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/forms/show.blade.php b/resources/views/forms/show.blade.php index 9c720c30e3..f7990842ff 100644 --- a/resources/views/forms/show.blade.php +++ b/resources/views/forms/show.blade.php @@ -30,7 +30,7 @@ @endcan - @if ($exporters = $form->exporters()) + @if (($exporters = $form->exporters()) && $exporters->isNotEmpty()) @foreach ($exporters as $exporter)