Fixed: Display unknown for missing release dates on album details page

This commit is contained in:
Bogdan 2025-07-20 11:29:37 +03:00 committed by sharinganthief
parent 01f17dca3d
commit 36d55aa8a0

View file

@ -427,7 +427,10 @@ class AlbumDetails extends Component {
size={17}
/>
<span className={styles.releaseDate}>
{moment(releaseDate).format(shortDateFormat)}
{releaseDate ?
moment(releaseDate).format(shortDateFormat) :
translate('Unknown')
}
</span>
</div>
</Label>