Fix empty genres being displayed

This commit is contained in:
Grégoire Delattre 2019-06-25 16:59:58 +02:00
parent 941f0dc676
commit f2c14e1d17

View File

@ -133,7 +133,7 @@ TrackingLabel.propTypes = {
}; };
const Genres = (props) => { const Genres = (props) => {
if (props.genres === undefined) { if ((props.genres === undefined) || (props.genres.size === 0)) {
return null; return null;
} }