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

master
Krishna Srinivas 8 years ago committed by Harshavardhana
parent a27d1b3d86
commit 96050c1e21
  1. 2
      browser/app/js/components/Browse.js

@ -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>

Loading…
Cancel
Save