mirror of
https://github.com/Lidarr/Lidarr
synced 2025-12-06 00:16:41 +01:00
Fixed: Display unknown for missing release dates on album details page
This commit is contained in:
parent
a709b7978a
commit
b892d1e9ea
1 changed files with 4 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue