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,16 +186,20 @@
class="bg-white rounded-2xl px-16 py-24" class="bg-white rounded-2xl px-16 py-24"
aria-labelledby="client-label" 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"> <div class="flex" style="--column-gap: 2rem">
<img <template v-if="user.client">
:src="user.client.logo" <img
:alt="'logo' + user.client.name" :src="user.client.logo"
class="rounded-md" :alt="'logo' + user.client.name"
width="72" class="rounded-md"
height="72" width="72"
/> height="72"
<p class="font-serif text-lg">{{ user.client.name }}</p> />
<p class="font-serif text-lg">{{ user.client.name }}</p>
</template>
</div> </div>
</section> </section>