1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00

tweaks markup

This commit is contained in:
vsandvold 2017-02-14 12:46:09 +01:00
parent 7a8bf2235a
commit 410f40cc03

View File

@ -17,12 +17,13 @@ export const AppsLinkList = ({ apps }) => (
<List>
{apps.length > 0 && apps.map(({ appName, description = '-', icon = 'apps' }) => (
<ListItem twoLine key={appName}>
<ListItemContent avatar={icon}>
<span className="mdl-list__item-primary-content">
<Icon name={icon} className="mdl-list__item-avatar"/>
<Link to={`/applications/${appName}`} className={[styles.listLink, styles.truncate].join(' ')}>
{appName}
<span className={['mdl-list__item-sub-title', styles.truncate].join(' ')}>{description}</span>
</Link>
</ListItemContent>
</span>
</ListItem>
))}
</List>