Fixed: Settings changes being cleared when leaving page despite confirmation they would be

This commit is contained in:
Mark McDowall 2019-01-30 18:24:01 -08:00
parent b8b82189f7
commit b04c286efc
6 changed files with 6 additions and 6 deletions

View File

@ -64,7 +64,7 @@ class DownloadClientOptionsConnector extends Component {
}
componentWillUnmount() {
this.props.dispatchClearPendingChanges({ section: SECTION });
this.props.dispatchClearPendingChanges({ section: `settings.${SECTION}` });
}
//

View File

@ -59,7 +59,7 @@ class GeneralSettingsConnector extends Component {
}
componentWillUnmount() {
this.props.clearPendingChanges({ section: SECTION });
this.props.clearPendingChanges({ section: `settings.${SECTION}` });
}
//

View File

@ -64,7 +64,7 @@ class IndexerOptionsConnector extends Component {
}
componentWillUnmount() {
this.props.dispatchClearPendingChanges({ section: SECTION });
this.props.dispatchClearPendingChanges({ section: `settings.${SECTION}` });
}
//

View File

@ -46,7 +46,7 @@ class MediaManagementConnector extends Component {
}
componentWillUnmount() {
this.props.clearPendingChanges({ section: SECTION });
this.props.clearPendingChanges({ section: `settings.${SECTION}` });
}
//

View File

@ -50,7 +50,7 @@ class NamingConnector extends Component {
}
componentWillUnmount() {
this.props.clearPendingChanges({ section: SECTION });
this.props.clearPendingChanges({ section: `settings.${SECTION}` });
}
//

View File

@ -39,7 +39,7 @@ class UISettingsConnector extends Component {
}
componentWillUnmount() {
this.props.clearPendingChanges({ section: SECTION });
this.props.clearPendingChanges({ section: `settings.${SECTION}` });
}
//