Fixed: Discarded settings changes don't get cleaned

Fixes #606
pull/6/head
Qstick 6 years ago
parent 529ab29489
commit 01de7dd599

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

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

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

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

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

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

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

Loading…
Cancel
Save