FIX:
- Traduccion al español del rol del usuario.
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
</div>
|
||||
<div class="flex flex-col">
|
||||
<span class="text-sm font-bold text-black dark:text-white">{{ auth()->user()->name }}</span>
|
||||
<span class="text-xs text-neutral-500 dark:text-neutral-400">{{ ucfirst(auth()->user()->role) }}</span>
|
||||
<span class="text-xs text-neutral-500 dark:text-neutral-400">{{ ucfirst(auth()->user()->role) == 'Admin' ? 'Admin': 'Empleado' }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<form action="{{ route('logout') }}" method="post" class="w-full">
|
||||
|
||||
Reference in New Issue
Block a user