From 6e226cd743b1734b6933ad31a040c1cd8fcbb8bb Mon Sep 17 00:00:00 2001 From: Gregor Vostrak Date: Tue, 17 Dec 2024 13:03:59 +0100 Subject: [PATCH] hide report table for users that do not already have reports and cannot report new ones --- resources/js/Pages/ReportingShared.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/js/Pages/ReportingShared.vue b/resources/js/Pages/ReportingShared.vue index ae00f953..316c6bbe 100644 --- a/resources/js/Pages/ReportingShared.vue +++ b/resources/js/Pages/ReportingShared.vue @@ -115,11 +115,11 @@ watch(currentPage, () => { + v-if="reports.length > 0 || isAllowedToPerformPremiumAction()" + :reports="reports">