mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 20:12:41 +02:00
updated date order to be InCinemas and then the earlier of either Physical/Digital Release
This commit is contained in:
parent
c28b62da2a
commit
b6e46ad8fd
@ -135,6 +135,7 @@ class MovieIndexPoster extends Component {
|
||||
let releaseDate = '';
|
||||
if (showReleaseDate) {
|
||||
releaseDate = inCinemas;
|
||||
if (!inCinemas) {
|
||||
if (physicalRelease && digitalRelease) {
|
||||
releaseDate = (physicalRelease < digitalRelease) ? physicalRelease : digitalRelease;
|
||||
} else if (physicalRelease && !digitalRelease) {
|
||||
@ -143,6 +144,7 @@ class MovieIndexPoster extends Component {
|
||||
releaseDate = digitalRelease;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={styles.content}>
|
||||
|
Loading…
Reference in New Issue
Block a user