front > account : display page even if no client defined

This commit is contained in:
isUnknown 2025-09-03 11:22:08 +02:00
parent 5b1291b400
commit 51fca42e35

View file

@ -186,8 +186,11 @@
class="bg-white rounded-2xl px-16 py-24"
aria-labelledby="client-label"
>
<h2 id="client-label" class="text-grey-700 mb-16">Client</h2>
<h2 id="client-label" class="text-grey-700 mb-16">
{{ user.client ? 'Client' : 'Pas de client associé' }}
</h2>
<div class="flex" style="--column-gap: 2rem">
<template v-if="user.client">
<img
:src="user.client.logo"
:alt="'logo' + user.client.name"
@ -196,6 +199,7 @@
height="72"
/>
<p class="font-serif text-lg">{{ user.client.name }}</p>
</template>
</div>
</section>