You've already forked AstralRinth
forked from didirus/AstralRinth
fix: not being able to Follow/Save/Report projects (#2173)
* fix: not being able to Follow/Save/Report projects * fix lint
This commit is contained in:
@@ -472,7 +472,7 @@ const auth = await useAuth();
|
|||||||
const user = ref();
|
const user = ref();
|
||||||
|
|
||||||
if (import.meta.client) {
|
if (import.meta.client) {
|
||||||
user.value = await useUser();
|
user.value = (await useUser()).value;
|
||||||
}
|
}
|
||||||
|
|
||||||
const cosmetics = useCosmetics();
|
const cosmetics = useCosmetics();
|
||||||
|
|||||||
@@ -1135,7 +1135,7 @@ const config = useRuntimeConfig();
|
|||||||
const auth = await useAuth();
|
const auth = await useAuth();
|
||||||
const user = ref();
|
const user = ref();
|
||||||
if (import.meta.client) {
|
if (import.meta.client) {
|
||||||
user.value = await useUser();
|
user.value = (await useUser()).value;
|
||||||
}
|
}
|
||||||
|
|
||||||
const cosmetics = useCosmetics();
|
const cosmetics = useCosmetics();
|
||||||
|
|||||||
@@ -186,7 +186,7 @@
|
|||||||
/>
|
/>
|
||||||
<NewModal ref="addPaymentMethodModal">
|
<NewModal ref="addPaymentMethodModal">
|
||||||
<template #title>
|
<template #title>
|
||||||
<span class="text-contrast text-lg font-extrabold">
|
<span class="text-lg font-extrabold text-contrast">
|
||||||
{{ formatMessage(messages.paymentMethodTitle) }}
|
{{ formatMessage(messages.paymentMethodTitle) }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -242,7 +242,7 @@
|
|||||||
<PayPalIcon v-else-if="method.type === 'paypal'" class="h-8 w-8" />
|
<PayPalIcon v-else-if="method.type === 'paypal'" class="h-8 w-8" />
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<div class="text-contrast font-bold">
|
<div class="font-bold text-contrast">
|
||||||
<template v-if="method.type === 'card'">
|
<template v-if="method.type === 'card'">
|
||||||
{{
|
{{
|
||||||
formatMessage(messages.paymentMethodCardDisplay, {
|
formatMessage(messages.paymentMethodCardDisplay, {
|
||||||
|
|||||||
Reference in New Issue
Block a user