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

pull/2941/head
Mark McDowall 5 years ago
parent b8b82189f7
commit b04c286efc

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

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

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

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

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

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

Loading…
Cancel
Save