mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-20 21:55:03 -04:00
Translations and some cleanup for extra files and movie editor tables
This commit is contained in:
@@ -23,9 +23,7 @@ function createMapStateToProps() {
|
||||
) => {
|
||||
const languages = languageProfiles.items;
|
||||
const qualities = getQualities(qualityProfiles.schema.items);
|
||||
const filesForMovie = movieFiles.items.filter((obj) => {
|
||||
return obj.movieId === movieId;
|
||||
});
|
||||
const filesForMovie = movieFiles.items.filter((file) => file.movieId === movieId);
|
||||
|
||||
return {
|
||||
items: filesForMovie,
|
||||
@@ -42,11 +40,11 @@ function createMapStateToProps() {
|
||||
|
||||
function createMapDispatchToProps(dispatch, props) {
|
||||
return {
|
||||
dispatchFetchQualityProfileSchema(name, path) {
|
||||
dispatchFetchQualityProfileSchema() {
|
||||
dispatch(fetchQualityProfileSchema());
|
||||
},
|
||||
|
||||
dispatchFetchLanguages(name, path) {
|
||||
dispatchFetchLanguages() {
|
||||
dispatch(fetchLanguages());
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user