1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-08-18 00:09:37 +02:00

linting fixes

This commit is contained in:
Robin Dadswell 2021-01-12 20:41:41 +00:00 committed by Qstick
parent 4ffd0d2ddb
commit fe23c985a2
2 changed files with 12 additions and 12 deletions

View File

@ -270,18 +270,18 @@ class MovieIndexPoster extends Component {
}
{
showCinemaRelease &&
showCinemaRelease &&
<div className={styles.title}>
{getRelativeDate(
inCinemas,
shortDateFormat,
showRelativeDates,
{
timeFormat,
timeForToday: false
}
)}
</div>
{getRelativeDate(
inCinemas,
shortDateFormat,
showRelativeDates,
{
timeFormat,
timeForToday: false
}
)}
</div>
}
{

View File

@ -73,7 +73,7 @@ class MovieIndexPosterOptionsModalContent extends Component {
state.showQualityProfile = showQualityProfile;
}
if (showCinemaRelease != prevProps.showCinemaRelease) {
if (showCinemaRelease !== prevProps.showCinemaRelease) {
state.showCinemaRelease = showCinemaRelease;
}