From 94a27299147fb4fa835a694f19850f9465fe2a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Mon, 12 Dec 2022 22:31:29 +0400 Subject: [PATCH] Display firstname instead of username admin --- components/teks/teks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/teks/teks.js b/components/teks/teks.js index b8d4308..cecb8fa 100644 --- a/components/teks/teks.js +++ b/components/teks/teks.js @@ -164,7 +164,7 @@ export default function Teks({parole, paroleId, commentaires, open, success, err )} {parole?.userAdmin?.data && !parole.user.data && ( - parole soumise par {parole.userAdmin.data.attributes.username || parole.userAdmin.data.attributes.firstname} + parole soumise par {parole.userAdmin.data.attributes.firstname} )}