1
0
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:
Bogdan
2023-08-13 01:20:47 +03:00
parent c3b856401e
commit e8e54fdf99
8 changed files with 142 additions and 8 deletions
@@ -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;
}
},