feat: rename year to max_year and add min_year to album. #118

This commit is contained in:
Deluan
2020-03-27 20:01:08 -04:00
parent fc650cd127
commit 53e8a92fed
10 changed files with 95 additions and 14 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ const AlbumDetails = ({ classes, record }) => {
if (record.genre) {
genreDateLine.push(record.genre)
}
if (record.year) {
genreDateLine.push(record.year)
if (record.maxYear) {
genreDateLine.push(record.maxYear)
}
return genreDateLine.join(' · ')
}