mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-10 17:22:15 +01:00
hide report table for users that do not already have reports and cannot report new ones
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user