Skip to content

Commit

Permalink
fix: fix visual bug on dashboard for tasks (monicahq/chandler#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss authored Oct 30, 2022
1 parent 478d574 commit a23c735
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/Pages/Vault/Dashboard/Partials/DueTasks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</h3>

<!-- list of tasks -->
<div v-if="data.tasks">
<div v-if="data.tasks.length > 0">
<ul class="mb-4 rounded-lg border border-gray-200 dark:border-gray-800 dark:bg-gray-900">
<li
v-for="task in data.tasks"
Expand Down Expand Up @@ -80,7 +80,7 @@

<!-- blank state -->
<div
v-if="!data.tasks"
v-if="data.tasks.length == 0"
class="mb-6 rounded-lg border border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900">
<p class="p-5 text-center">
{{ $t('vault.dashboard_due_tasks_blank') }}
Expand Down

0 comments on commit a23c735

Please sign in to comment.