From 19ee73354655deb6674716866da967ddb341b806 Mon Sep 17 00:00:00 2001 From: Robson Tenorio Date: Sun, 19 Mar 2023 20:01:34 -0300 Subject: [PATCH] Exibindo ID dos Atendentes --- frontend/src/pages/Users/index.js | 17 +++++++++++------ frontend/src/translate/languages/en.js | 1 + frontend/src/translate/languages/es.js | 1 + frontend/src/translate/languages/pt.js | 1 + 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/frontend/src/pages/Users/index.js b/frontend/src/pages/Users/index.js index 967de18c..18369f68 100644 --- a/frontend/src/pages/Users/index.js +++ b/frontend/src/pages/Users/index.js @@ -195,8 +195,7 @@ const Users = () => { { - {i18n.t("users.table.name")} + + {i18n.t("users.table.id")} + + + {i18n.t("users.table.name")} + {i18n.t("users.table.email")} @@ -255,13 +259,13 @@ const Users = () => { {i18n.t("users.table.whatsapp")} - + {i18n.t("users.table.startWork")} - + {i18n.t("users.table.endWork")} - + {i18n.t("users.table.actions")} @@ -271,6 +275,7 @@ const Users = () => { <> {users.map((user) => ( + {user.id} {user.name} {user.email} {user.profile} diff --git a/frontend/src/translate/languages/en.js b/frontend/src/translate/languages/en.js index 7e293ed7..f60e257f 100644 --- a/frontend/src/translate/languages/en.js +++ b/frontend/src/translate/languages/en.js @@ -446,6 +446,7 @@ const messages = { users: { title: "Attendants", table: { + id: "ID", name: "Name", email: "Email", profile: "Profile", diff --git a/frontend/src/translate/languages/es.js b/frontend/src/translate/languages/es.js index d46722b5..a36eea13 100644 --- a/frontend/src/translate/languages/es.js +++ b/frontend/src/translate/languages/es.js @@ -446,6 +446,7 @@ const messages = { users: { title: "Asistentes", table: { + id: "ID", name: "Nombre", email: "Correo electrónico", profile: "Perfil", diff --git a/frontend/src/translate/languages/pt.js b/frontend/src/translate/languages/pt.js index a05bbc6f..dd2be321 100644 --- a/frontend/src/translate/languages/pt.js +++ b/frontend/src/translate/languages/pt.js @@ -446,6 +446,7 @@ const messages = { users: { title: "Atendentes", table: { + id: "ID", name: "Nome", email: "E-mail", profile: "Perfil",