diff --git a/frontend/src/Settings/DownloadClients/Options/DownloadClientOptionsConnector.js b/frontend/src/Settings/DownloadClients/Options/DownloadClientOptionsConnector.js index ef97de47f..f6cd7eb4f 100644 --- a/frontend/src/Settings/DownloadClients/Options/DownloadClientOptionsConnector.js +++ b/frontend/src/Settings/DownloadClients/Options/DownloadClientOptionsConnector.js @@ -64,7 +64,7 @@ class DownloadClientOptionsConnector extends Component { } componentWillUnmount() { - this.props.dispatchClearPendingChanges({ section: SECTION }); + this.props.dispatchClearPendingChanges({ section: `settings.${SECTION}` }); } // diff --git a/frontend/src/Settings/General/GeneralSettingsConnector.js b/frontend/src/Settings/General/GeneralSettingsConnector.js index 46bd08bc1..82c9d442e 100644 --- a/frontend/src/Settings/General/GeneralSettingsConnector.js +++ b/frontend/src/Settings/General/GeneralSettingsConnector.js @@ -59,7 +59,7 @@ class GeneralSettingsConnector extends Component { } componentWillUnmount() { - this.props.clearPendingChanges({ section: SECTION }); + this.props.clearPendingChanges({ section: `settings.${SECTION}` }); } // diff --git a/frontend/src/Settings/Indexers/Options/IndexerOptionsConnector.js b/frontend/src/Settings/Indexers/Options/IndexerOptionsConnector.js index 28d07c77e..545ee871a 100644 --- a/frontend/src/Settings/Indexers/Options/IndexerOptionsConnector.js +++ b/frontend/src/Settings/Indexers/Options/IndexerOptionsConnector.js @@ -64,7 +64,7 @@ class IndexerOptionsConnector extends Component { } componentWillUnmount() { - this.props.dispatchClearPendingChanges({ section: SECTION }); + this.props.dispatchClearPendingChanges({ section: `settings.${SECTION}` }); } // diff --git a/frontend/src/Settings/MediaManagement/MediaManagementConnector.js b/frontend/src/Settings/MediaManagement/MediaManagementConnector.js index d6ad03ad2..6412b6cd2 100644 --- a/frontend/src/Settings/MediaManagement/MediaManagementConnector.js +++ b/frontend/src/Settings/MediaManagement/MediaManagementConnector.js @@ -46,7 +46,7 @@ class MediaManagementConnector extends Component { } componentWillUnmount() { - this.props.clearPendingChanges({ section: SECTION }); + this.props.clearPendingChanges({ section: `settings.${SECTION}` }); } // diff --git a/frontend/src/Settings/MediaManagement/Naming/NamingConnector.js b/frontend/src/Settings/MediaManagement/Naming/NamingConnector.js index d8210317e..2c1b00958 100644 --- a/frontend/src/Settings/MediaManagement/Naming/NamingConnector.js +++ b/frontend/src/Settings/MediaManagement/Naming/NamingConnector.js @@ -50,7 +50,7 @@ class NamingConnector extends Component { } componentWillUnmount() { - this.props.clearPendingChanges({ section: SECTION }); + this.props.clearPendingChanges({ section: `settings.${SECTION}` }); } // diff --git a/frontend/src/Settings/UI/UISettingsConnector.js b/frontend/src/Settings/UI/UISettingsConnector.js index 24b55b6f0..ac8c9f8f1 100644 --- a/frontend/src/Settings/UI/UISettingsConnector.js +++ b/frontend/src/Settings/UI/UISettingsConnector.js @@ -39,7 +39,7 @@ class UISettingsConnector extends Component { } componentWillUnmount() { - this.props.clearPendingChanges({ section: SECTION }); + this.props.clearPendingChanges({ section: `settings.${SECTION}` }); } //