Crowdfund: Fix JS errors in empty state (#5121)

An empty crfowdfund with the default perk had JS errors.
This commit is contained in:
d11n 2023-06-27 02:42:18 +02:00 committed by GitHub
parent fdcf7b3b7a
commit db83d238d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -277,7 +277,7 @@
<template id="perks-template">
<div class="perks-container">
<perk v-if="!perks || perks.length === 0"
:perk="{title: 'Donate Custom Amount', price: { type: 0, value: null }}"
:perk="{title: 'Donate Custom Amount', priceType: 'Topup', price: { type: 'Topup' } }"
:target-currency="targetCurrency"
:active="active"
:loading="loading"