{
filename &&
}
{
audioTags.title !== undefined &&
}
{
audioTags.trackNumbers[0] > 0 &&
}
{
audioTags.discNumber > 0 &&
}
{
audioTags.discCount > 0 &&
}
{
audioTags.albumTitle !== undefined &&
}
{
audioTags.artistTitle !== undefined &&
}
{
audioTags.country !== undefined &&
}
{
audioTags.year > 0 &&
}
{
audioTags.label !== undefined &&
}
{
audioTags.catalogNumber !== undefined &&
}
{
audioTags.disambiguation !== undefined &&
}
{
audioTags.duration !== undefined &&
}
{
audioTags.artistMBId !== undefined &&
}
{
audioTags.albumMBId !== undefined &&
}
{
audioTags.releaseMBId !== undefined &&
}
{
audioTags.recordingMBId !== undefined &&
}
{
audioTags.trackMBId !== undefined &&
}
{
!!rejections && rejections.length > 0 &&
renderRejections(rejections)
}
);
}
FileDetails.propTypes = {
filename: PropTypes.string,
audioTags: PropTypes.object.isRequired,
rejections: PropTypes.arrayOf(PropTypes.object)
};
export default FileDetails;