feat: update user role display in perfil page to show associated sectors for improved clarity
This commit is contained in:
@@ -721,11 +721,13 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="flex flex-wrap items-center justify-center gap-3 md:justify-start">
|
<div class="flex flex-wrap items-center justify-center gap-3 md:justify-start">
|
||||||
<div
|
{#if setoresQuery?.data && setoresQuery.data.length > 0}
|
||||||
class="badge badge-lg border-0 bg-white/90 px-4 font-bold text-primary shadow-lg"
|
<div
|
||||||
>
|
class="badge badge-lg border-0 bg-white/90 px-4 font-bold text-primary shadow-lg"
|
||||||
{currentUser.data?.role?.nome || 'Usuário'}
|
>
|
||||||
</div>
|
{setoresQuery.data.map(s => s.nome).join(', ')}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
|
||||||
{#if meuTime}
|
{#if meuTime}
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user