fix: 🐛 properly show instance's link

This commit is contained in:
ThatOneCalculator 2023-07-12 00:48:07 -07:00
parent 80b0735054
commit ae00ff0bb2

View file

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