Remove incorrect minimum withdraw amount from dashboard (#1683)

This commit is contained in:
Prospector 2024-04-18 16:35:37 -07:00 committed by GitHub
parent e932f38160
commit 9dc68611a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>
@ -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
)