mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-03 05:25:10 +00:00
Fixed: metadata modal not closing
This commit is contained in:
parent
90a4838958
commit
74f91d63f6
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ class EditMetadataModalConnector extends Component {
|
|||
// Listeners
|
||||
|
||||
onModalClose = () => {
|
||||
this.props.clearPendingChanges({ section: 'metadatas' });
|
||||
this.props.dispatchClearPendingChanges();
|
||||
this.props.onModalClose();
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ class EditMetadataModalConnector extends Component {
|
|||
|
||||
EditMetadataModalConnector.propTypes = {
|
||||
onModalClose: PropTypes.func.isRequired,
|
||||
clearPendingChanges: PropTypes.func.isRequired
|
||||
dispatchClearPendingChanges: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
export default connect(null, createMapDispatchToProps)(EditMetadataModalConnector);
|
||||
|
|
Loading…
Reference in a new issue