Add userAdmin

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-05-08 05:26:23 +04:00
parent 177bc19bc6
commit 1c77b6ffa7
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -65,6 +65,11 @@ export default function TeksKat({teks}) {
(<i>texte soumis par {teks.user.username}</i>)
</>
)}
{teks.userAdmin && !teks.user && (
<>
(<i>texte soumis par {teks.userAdmin}</i>)
</>
)}
</Typography>
<Typography variant='body2' color='textSecondary' component='p'>
{new Intl.ListFormat('fr').format(alias)}