Pass actual iconUrl and add default icon image

This commit is contained in:
Fabio Berger
2018-03-20 15:39:32 +00:00
parent 27880a6059
commit 07de3a1d94
3 changed files with 5 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ export class SidebarHeader extends React.Component<SidebarHeaderProps, SidebarHe
</div>
<div className="flex">
<div>
<img src={`/images/doc_icons/${this.props.iconUrl}`} width="22" />
<img src={this.props.iconUrl} width="22" />
</div>
<div className="pl1" style={{ fontWeight: 600, fontSize: 20, lineHeight: 1.2 }}>
{this.props.title}