Fixing sort order for popularity, fixes #343;

This commit is contained in:
James Barnsley
2018-12-08 21:16:05 +13:00
parent 291b1ed39e
commit 657c060eb6
15 changed files with 95 additions and 84 deletions

View File

@ -28,9 +28,10 @@ class AlbumGrid extends React.Component{
render(){
if (this.props.albums){
var className = "grid grid--albums"
if (this.props.className) className += ' '+this.props.className
if (this.props.single_row) className += ' grid--single-row'
var className = "grid grid--albums";
if (this.props.className) className += ' '+this.props.className;
if (this.props.single_row) className += ' grid--single-row';
if (this.props.mini) className += ' grid--mini';
return (
<div className={className}>