Skip to content

Commit

Permalink
hide report table for users that do not already have reports and cann…
Browse files Browse the repository at this point in the history
…ot report new ones
  • Loading branch information
Onatcer committed Dec 17, 2024
1 parent 19ed966 commit 6e226cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/js/Pages/ReportingShared.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ watch(currentPage, () => {
</div>

<ReportTable
v-if="reports"
:reports="reports"
show-billable-rate=""></ReportTable>
v-if="reports.length > 0 || isAllowedToPerformPremiumAction()"
:reports="reports"></ReportTable>

<PaginationRoot
v-if="reports.length > 0 || isAllowedToPerformPremiumAction()"
:total="totalPages"
:items-per-page="pageLimit"
class="flex justify-center items-center py-8"
Expand Down

0 comments on commit 6e226cd

Please sign in to comment.