Skip to content

Commit

Permalink
fix: hide rejected timesheets when there are none (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss committed Mar 16, 2021
1 parent 6a1e8c9 commit 0124fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/Pages/Dashboard/Timesheet/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

<div class="cf mw8 center br3 mb3 bg-white box pa3 relative">
<!-- information of timesheets that were rejected, if any -->
<div v-if="rejectedTimesheets" class="mb4 ba bb-gray pa3 br3">
<div v-if="rejectedTimesheets.length > 0" class="mb4 ba bb-gray pa3 br3">
<p class="mt0 mb2"><span class="mr1">⚠️</span> {{ $t('dashboard.timesheet_rejected_timesheets') }}</p>
<ul class="list ma0 pl0">
<li v-for="timesheetItem in rejectedTimesheets" :key="timesheetItem.id" class="dib rejected-timesheet-item mb2 f6 mr2">
Expand Down

0 comments on commit 0124fce

Please sign in to comment.