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} />
</div>
<Box align='center'>
<Typography style={{marginTop: '0.8em'}} variant='h4'>
{anTeks.tit}
{anTeks.eksplisit && (
<ExplicitTooltip title='Explicit Lyrics' placement='bottom' TransitionComponent={Zoom}>
<ExplicitIcon style={{marginLeft: 10}} color='secondary' />
</ExplicitTooltip>
)}
<Typography style={{marginTop: '0.8em'}} variant='h4' display='block'>
<Typography gutterBottom variant='h6'>
{anTeks.awtis.map(a => a.alias).join(', ')}
</Typography>
<Typography variant='h5'>
{anTeks.tit}
{anTeks.eksplisit && (
<ExplicitTooltip title='Explicit Lyrics' placement='bottom' TransitionComponent={Zoom}>
<ExplicitIcon style={{marginLeft: 10}} color='secondary' />
</ExplicitTooltip>
)}
</Typography>
{komante && (
<VweKomante komante={komante} teks={anTeks} />
)}