Recently viewed and edited seem to be working great

This commit is contained in:
Scott Tolksdorf committed 2016-05-29 12:50:18 -04:00
1 parent 63dcbfa388
commit 87af0e8cb7
6 files changed
+171 -13

No files matched your search

+2 -2
View File
@@ -51,12 +51,12 @@ var Nav = {
if(this.props.icon) icon = <i className={'fa ' + this.props.icon} />;
if(this.props.href){
return <a href={this.props.href} className={classes} target={this.props.newTab ? '_blank' : '_self'}>
return <a {...this.props} className={classes} target={this.props.newTab ? '_blank' : '_self'} >
{this.props.children}
{icon}
</a>
}else{
return <div className={classes} onClick={this.handleClick}>
return <div {...this.props} className={classes} onClick={this.handleClick} >
{this.props.children}
{icon}
</div>