Add awtis alias to teks

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2021-09-25 21:48:35 +02:00
parent c4beba5821
commit b88eb756d3
+12 -7
View File
@@ -288,13 +288,18 @@ export default function TeksDrawer({teks, anTeks, komante}) {
<Pataje teks={anTeks} setError={setError} setSuccess={setSuccess} /> <Pataje teks={anTeks} setError={setError} setSuccess={setSuccess} />
</div> </div>
<Box align='center'> <Box align='center'>
<Typography style={{marginTop: '0.8em'}} variant='h4'> <Typography style={{marginTop: '0.8em'}} variant='h4' display='block'>
{anTeks.tit} <Typography gutterBottom variant='h6'>
{anTeks.eksplisit && ( {anTeks.awtis.map(a => a.alias).join(', ')}
<ExplicitTooltip title='Explicit Lyrics' placement='bottom' TransitionComponent={Zoom}> </Typography>
<ExplicitIcon style={{marginLeft: 10}} color='secondary' /> <Typography variant='h5'>
</ExplicitTooltip> {anTeks.tit}
)} {anTeks.eksplisit && (
<ExplicitTooltip title='Explicit Lyrics' placement='bottom' TransitionComponent={Zoom}>
<ExplicitIcon style={{marginLeft: 10}} color='secondary' />
</ExplicitTooltip>
)}
</Typography>
{komante && ( {komante && (
<VweKomante komante={komante} teks={anTeks} /> <VweKomante komante={komante} teks={anTeks} />
)} )}