mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-17 12:42: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>
|
</div>
|
||||||
|
|
||||||
<ReportTable
|
<ReportTable
|
||||||
v-if="reports"
|
v-if="reports.length > 0 || isAllowedToPerformPremiumAction()"
|
||||||
:reports="reports"
|
:reports="reports"></ReportTable>
|
||||||
show-billable-rate=""></ReportTable>
|
|
||||||
|
|
||||||
<PaginationRoot
|
<PaginationRoot
|
||||||
|
v-if="reports.length > 0 || isAllowedToPerformPremiumAction()"
|
||||||
:total="totalPages"
|
:total="totalPages"
|
||||||
:items-per-page="pageLimit"
|
:items-per-page="pageLimit"
|
||||||
class="flex justify-center items-center py-8"
|
class="flex justify-center items-center py-8"
|
||||||
|
|||||||
Reference in New Issue
Block a user