fix: 🐛 properly show instance's link

This commit is contained in:
ThatOneCalculator 2023-07-12 00:48:07 -07:00
parent 66d7884b72
commit badd040df6
No known key found for this signature in database
GPG Key ID: 8703CACD01000000

View File

@ -10,7 +10,7 @@
</div>
<div :class="$style.text">
{{ i18n.ts._aboutMisskey.pleaseDonateToCalckey }}
<p v-if="instance.donationLink">
<p v-if="$instance.donationLink">
{{
i18n.t("_aboutMisskey.pleaseDonateToHost", {
host: hostname,
@ -27,9 +27,9 @@
>{{ i18n.ts._aboutMisskey.donate }}</MkButton
>
<MkButton
v-if="instance.donationLink"
v-if="$instance.donationLink"
primary
@click="openExternal(instance.donationLink)"
@click="openExternal($instance.donationLink)"
>{{
i18n.t("_aboutMisskey.donateHost", {
host: hostname,