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
@@ -161,6 +161,11 @@ export default function Teks({anTeks, komante, open, success, error, setSuccess,
<i>texte soumis par {anTeks.user.username}</i>
</Typography>
)}
{anTeks.userAdmin && !anTeks.user && (
<Typography style={{marginBottom: '1.5em'}} display='block' variant='caption'>
<i>texte soumis par {anTeks.userAdmin}</i>
</Typography>
)}
</Box>
{(anTeks.okiMizikID || anTeks.kouteyAchtey.length > 0) && (
<Box sx={{textAlign: 'center'}}>