Remove incorrect minimum withdraw amount from dashboard (#1683)
This commit is contained in:
parent
e932f38160
commit
9dc68611a1
@ -94,14 +94,13 @@
|
|||||||
{{ $formatMoney(auth.user.payout_data.balance, true) }}
|
{{ $formatMoney(auth.user.payout_data.balance, true) }}
|
||||||
</div>
|
</div>
|
||||||
<NuxtLink
|
<NuxtLink
|
||||||
v-if="auth.user.payout_data.balance >= minWithdraw"
|
v-if="auth.user.payout_data.balance > 0"
|
||||||
class="goto-link"
|
class="goto-link"
|
||||||
to="/dashboard/revenue"
|
to="/dashboard/revenue"
|
||||||
>
|
>
|
||||||
Withdraw earnings
|
Withdraw earnings
|
||||||
<ChevronRightIcon class="featured-header-chevron" aria-hidden="true" />
|
<ChevronRightIcon class="featured-header-chevron" aria-hidden="true" />
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
<span v-else>${{ minWithdraw }} is the withdraw minimum</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@ -127,8 +126,6 @@ const [{ data: projects }] = await Promise.all([
|
|||||||
),
|
),
|
||||||
])
|
])
|
||||||
|
|
||||||
const minWithdraw = ref(0.26)
|
|
||||||
|
|
||||||
const downloadsProjectCount = computed(
|
const downloadsProjectCount = computed(
|
||||||
() => projects.value.filter((project) => project.downloads > 0).length
|
() => projects.value.filter((project) => project.downloads > 0).length
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user