Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Remove incorrect minimum withdraw amount from dashboard (#1683)
Browse files Browse the repository at this point in the history
  • Loading branch information
Prospector authored Apr 18, 2024
1 parent e932f38 commit 9dc6861
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pages/dashboard/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,13 @@
{{ $formatMoney(auth.user.payout_data.balance, true) }}
</div>
<NuxtLink
v-if="auth.user.payout_data.balance >= minWithdraw"
v-if="auth.user.payout_data.balance > 0"
class="goto-link"
to="/dashboard/revenue"
>
Withdraw earnings
<ChevronRightIcon class="featured-header-chevron" aria-hidden="true" />
</NuxtLink>
<span v-else>${{ minWithdraw }} is the withdraw minimum</span>
</div>
</div>
</section>
Expand All @@ -127,8 +126,6 @@ const [{ data: projects }] = await Promise.all([
),
])
const minWithdraw = ref(0.26)
const downloadsProjectCount = computed(
() => projects.value.filter((project) => project.downloads > 0).length
)
Expand Down

0 comments on commit 9dc6861

Please sign in to comment.