mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
only output icon if wanted
This commit is contained in:
parent
6216440644
commit
b4e600afd9
@ -99,7 +99,7 @@ export default class App extends Component {
|
||||
<a
|
||||
href={this.context.router.createHref(path)}
|
||||
className={this.context.router.isActive(path) ? style.active : ''}>
|
||||
<Icon name={icon} /> {caption}
|
||||
{icon && <Icon name={icon} />} {caption}
|
||||
</a>;
|
||||
|
||||
return (
|
||||
|
@ -93,7 +93,7 @@ export default class FeatureListComponent extends React.PureComponent {
|
||||
</Menu>
|
||||
</div>
|
||||
<Link to="/features/create" className={styles.topListItem0}>
|
||||
<IconButton ripple raised name="add" component="span" mini style={{ color: 'black' }}/>
|
||||
<IconButton ripple raised name="add" component="span" style={{ color: 'black' }}/>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user