generated from pascalmartineau/wp-skeleton
minor: /auth => /connexion
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m0s
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m0s
This commit is contained in:
@@ -8,7 +8,7 @@ const { loggedIn } = useUserSession();
|
||||
<UButton
|
||||
:icon="loggedIn ? 'i-lucide-log-out' : 'i-lucide-log-in'"
|
||||
color="neutral"
|
||||
to="/auth"
|
||||
to="/connexion"
|
||||
:label="showLabels ? (loggedIn ? 'Déconnexion' : 'Connexion') : undefined"
|
||||
/>
|
||||
</AuthState>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
defineProps<{ showLabels: boolean }>();
|
||||
const { loggedIn } = useUserSession();
|
||||
const label = computed(() => (loggedIn ? "Espace membre" : "Devenir membre"));
|
||||
const label = computed(() => (loggedIn.value ? "Espace membre" : "Devenir membre"));
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user