{
filename &&
}
{
audioTags.title !== undefined &&
}
{
audioTags.trackNumbers[0] > 0 &&
}
{
audioTags.discNumber > 0 &&
}
{
audioTags.discCount > 0 &&
}
{
audioTags.bookTitle !== undefined &&
}
{
audioTags.authorTitle !== undefined &&
}
{
audioTags.country !== undefined &&
}
{
audioTags.year > 0 &&
}
{
audioTags.label !== undefined &&
}
{
audioTags.catalogNumber !== undefined &&
}
{
audioTags.disambiguation !== undefined &&
}
{
audioTags.duration !== undefined &&
}
{
audioTags.authorMBId !== undefined &&
}
{
audioTags.bookMBId !== 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;