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

Remove incorrect minimum withdraw amount from dashboard #1683

Merged
merged 1 commit into from
Apr 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading