browser: Do not show "Loading..." if there are no buckets. (#3904)

This commit is contained in:
Krishna Srinivas 2017-03-14 19:07:23 -07:00 committed by Harshavardhana
parent a27d1b3d86
commit 96050c1e21

View File

@ -603,7 +603,7 @@ export default class Browse extends React.Component {
checkObject={ this.checkObject.bind(this) }
checkedObjectsArray={ checkedObjects } />
</InfiniteScroll>
<div className="text-center" style={ { display: istruncated ? 'block' : 'none' } }>
<div className="text-center" style={ { display: (istruncated && currentBucket) ? 'block' : 'none' } }>
<span>Loading...</span>
</div>
</div>