1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

minor fixes based on feedback

This commit is contained in:
Robin Dadswell 2021-01-06 12:50:23 +00:00 committed by Qstick
parent 913766f9af
commit 7107aeaddc
2 changed files with 3 additions and 7 deletions

View File

@ -134,18 +134,13 @@ class MovieIndexPoster extends Component {
let releaseDate = ''; let releaseDate = '';
if (showReleaseDate) { if (showReleaseDate) {
releaseDate = inCinemas;
if (physicalRelease && digitalRelease) { if (physicalRelease && digitalRelease) {
if (physicalRelease < digitalRelease) { releaseDate = (physicalRelease < digitalRelease) ? physicalRelease : digitalRelease;
releaseDate = physicalRelease;
} else {
releaseDate = digitalRelease;
}
} else if (physicalRelease && !digitalRelease) { } else if (physicalRelease && !digitalRelease) {
releaseDate = physicalRelease; releaseDate = physicalRelease;
} else if (digitalRelease && !physicalRelease) { } else if (digitalRelease && !physicalRelease) {
releaseDate = digitalRelease; releaseDate = digitalRelease;
} else {
releaseDate = inCinemas;
} }
} }

View File

@ -871,6 +871,7 @@
"ShowQualityProfile": "Show Quality Profile", "ShowQualityProfile": "Show Quality Profile",
"ShowQualityProfileHelpText": "Show quality profile under poster", "ShowQualityProfileHelpText": "Show quality profile under poster",
"ShowRatings": "Show Ratings", "ShowRatings": "Show Ratings",
"ShowReleaseDate": "Show Release Date",
"ShowReleaseDateHelpText": "Show release date under poster", "ShowReleaseDateHelpText": "Show release date under poster",
"ShowSearch": "Show Search", "ShowSearch": "Show Search",
"ShowSearchHelpText": "Show search button on hover", "ShowSearchHelpText": "Show search button on hover",