Skip to content

Commit

Permalink
fix: fix empty div showing when no tasks on dashboard (monicahq/chand…
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss authored Jan 6, 2023
1 parent 55b4bbb commit 4752f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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

0 comments on commit 4752f68

Please sign in to comment.