Fix join awtis
This commit is contained in:
@@ -48,7 +48,7 @@ export default function MizikLis({meteEsMobilOuve, niAwtis, teks, slugTeksChwazi
|
|||||||
selected={slugTeksChwazi === slug}
|
selected={slugTeksChwazi === slug}
|
||||||
onClick={() => handleClick(slug)}
|
onClick={() => handleClick(slug)}
|
||||||
>
|
>
|
||||||
<ListItemText primary={tit} secondary={niAwtis ? awtis.map(a => a.alias).join() : null} />
|
<ListItemText primary={tit} secondary={niAwtis ? awtis.map(a => a.alias).join(', ') : null} />
|
||||||
{okiMizikID && (
|
{okiMizikID && (
|
||||||
<LibraryMusicIcon style={{fontSize: 40}} color='primary' />
|
<LibraryMusicIcon style={{fontSize: 40}} color='primary' />
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ const getMizikFiltered = (teks, filter) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const filteredAlias = teks.filter(({awtis}) => {
|
const filteredAlias = teks.filter(({awtis}) => {
|
||||||
const aliasLis = awtis.map(({alias}) => deburr(alias)).join()
|
const aliasLis = awtis.map(({alias}) => deburr(alias)).join(', ')
|
||||||
return aliasLis.toLowerCase().includes(deburr(filter.toLowerCase()))
|
return aliasLis.toLowerCase().includes(deburr(filter.toLowerCase()))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ export default function TeksKat({teks}) {
|
|||||||
{tit}
|
{tit}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant='body2' color='textSecondary' component='p'>
|
<Typography variant='body2' color='textSecondary' component='p'>
|
||||||
{awtis.map(a => a.alias).join()}
|
{awtis.map(a => a.alias).join(', ')}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant='body2' color='textSecondary' component='p'>
|
<Typography variant='body2' color='textSecondary' component='p'>
|
||||||
{lanne}
|
{lanne}
|
||||||
|
|||||||
Reference in New Issue
Block a user