only show username in search and explore

fixes #710
This commit is contained in:
Matthew Taylor 2016-07-11 16:35:03 -04:00
parent e9c6213e51
commit 845ddb2966
2 changed files with 4 additions and 4 deletions

View file

@ -40,7 +40,7 @@ var Grid = React.createClass({
href={href} href={href}
title={item.title} title={item.title}
src={item.image} src={item.image}
creator={item.creator} creator={item.author.username}
loves={item.stats.loves} loves={item.stats.loves}
favorites={item.stats.favorites} favorites={item.stats.favorites}
remixes={item.stats.remixes} remixes={item.stats.remixes}

View file

@ -130,9 +130,9 @@ var Explore = injectIntl(React.createClass({
<div id='projectBox' key='projectBox'> <div id='projectBox' key='projectBox'>
<Grid items={this.state.loaded} <Grid items={this.state.loaded}
itemType={this.props.itemType} itemType={this.props.itemType}
showLoves={true} showLoves={false}
showFavorites={true} showFavorites={false}
showViews={true} /> showViews={false} />
<SubNavigation className='load'> <SubNavigation className='load'>
<button onClick={this.getExploreMore}> <button onClick={this.getExploreMore}>
<li> <li>