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:
ToBinio
2024-08-18 20:08:04 +02:00
committed by GitHub
parent 06f2340569
commit bb3ce9fbc6
3 changed files with 4 additions and 4 deletions

View File

@@ -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();

View File

@@ -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();

View File

@@ -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, {