v1.0.67 Backend / v1.0.65 Frontend - Mejora en filtro de mecánicos en pestaña Informes
Frontend (1.0.65):
- 🔧 Filtro de mecánicos muestra nombre completo con rol
- Formato: "{full_name || username} ({role})"
- Ejemplo: "Ron 1 Admin (admin)" en lugar de solo "Ron 1"
- Fallback a username si full_name no está disponible
- Mayor claridad para identificar usuarios en reportes
Backend (1.0.67):
- Sin cambios (mantiene versión actual)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "checklist-frontend",
|
"name": "checklist-frontend",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.64",
|
"version": "1.0.65",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -5209,7 +5209,7 @@ function ReportsTab({ user }) {
|
|||||||
<option value="">Todos los mecánicos</option>
|
<option value="">Todos los mecánicos</option>
|
||||||
{mechanics.map(mechanic => (
|
{mechanics.map(mechanic => (
|
||||||
<option key={mechanic.id} value={mechanic.id}>
|
<option key={mechanic.id} value={mechanic.id}>
|
||||||
{mechanic.full_name}
|
{mechanic.full_name || mechanic.username} ({mechanic.role})
|
||||||
</option>
|
</option>
|
||||||
))}
|
))}
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user