Skip to content

Commit

Permalink
home: Remove handling of the situation of where payment
Browse files Browse the repository at this point in the history
... is required but `payment_amount` is not specified
  • Loading branch information
ThrRip committed Nov 13, 2023
1 parent 3eeefbb commit 095a304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/home/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
<span
v-if="song.payment_required"
class="flex flex-col justify-center items-center"
:title="song.payment_amount === null ? '需要 SC' : `需要 ${song.payment_amount} 元 SC`"
:title="song.payment_amount ? `需要 ${song.payment_amount} 元 SC` : ''"
>
<font-awesome-icon :icon="['fas', 'comment-dollar']" class="!h-5" />
<span v-if="song.payment_amount" class="text-[0.625rem] leading-snug">
Expand Down

0 comments on commit 095a304

Please sign in to comment.