mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
Fixed: dispatchClearPendingChanges on some Settings Sections
This commit is contained in:
parent
7f201c6677
commit
f29e7557dd
@ -64,7 +64,7 @@ class DownloadClientOptionsConnector extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
this.props.dispatchClearPendingChanges({ section: SECTION });
|
this.props.dispatchClearPendingChanges({ section: `settings.${SECTION}` });
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -64,7 +64,7 @@ class IndexerOptionsConnector extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
this.props.dispatchClearPendingChanges({ section: SECTION });
|
this.props.dispatchClearPendingChanges({ section: `settings.${SECTION}` });
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -50,7 +50,7 @@ class NamingConnector extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
this.props.clearPendingChanges({ section: SECTION });
|
this.props.clearPendingChanges({ section: `settings.${SECTION}` });
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -112,7 +112,8 @@ export default {
|
|||||||
[SELECT_INDEXER_SCHEMA]: (state, { payload }) => {
|
[SELECT_INDEXER_SCHEMA]: (state, { payload }) => {
|
||||||
return selectProviderSchema(state, section, payload, (selectedSchema) => {
|
return selectProviderSchema(state, section, payload, (selectedSchema) => {
|
||||||
selectedSchema.enableRss = selectedSchema.supportsRss;
|
selectedSchema.enableRss = selectedSchema.supportsRss;
|
||||||
selectedSchema.enableSearch = selectedSchema.supportsSearch;
|
selectedSchema.enableAutomaticSearch = selectedSchema.supportsSearch;
|
||||||
|
selectedSchema.enableInteractiveSearch = selectedSchema.supportsSearch;
|
||||||
|
|
||||||
return selectedSchema;
|
return selectedSchema;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user