Skip to content

Commit c2faa56

Browse files
committed
feat: hide transactions section if there are no transactions
1 parent c879cb3 commit c2faa56

File tree

1 file changed

+1
-1
lines changed
  • apps/frontend/src/pages/dashboard/revenue

1 file changed

+1
-1
lines changed

apps/frontend/src/pages/dashboard/revenue/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
<nuxt-link class="text-link" to="/legal/cmp-info">Reward Program</nuxt-link>.</span
117117
>
118118
</div>
119-
<div class="flex flex-col gap-4">
119+
<div class="flex flex-col gap-4" v-if="sortedPayouts.length > 0">
120120
<div class="flex flex-row justify-between">
121121
<span class="text-3xl font-semibold text-contrast">Transactions</span>
122122
<nuxt-link

0 commit comments

Comments
 (0)