mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-24 22:35:49 -04:00
New: Add options to show ratings in movie poster info
This commit is contained in:
@@ -35,6 +35,9 @@ export const defaultState = {
|
||||
showQualityProfile: true,
|
||||
showCinemaRelease: false,
|
||||
showReleaseDate: false,
|
||||
showTmdbRating: false,
|
||||
showImdbRating: false,
|
||||
showRottenTomatoesRating: false,
|
||||
showSearchAction: false
|
||||
},
|
||||
|
||||
@@ -253,7 +256,7 @@ export const defaultState = {
|
||||
rottenTomatoesRating: function(item) {
|
||||
const { ratings = {} } = item;
|
||||
|
||||
return ratings.rottenTomatoes ? ratings.rottenTomatoes.value : 0;
|
||||
return ratings.rottenTomatoes ? ratings.rottenTomatoes.value : -1;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user