diff --git a/frontend/src/Settings/MediaManagement/MediaManagementConnector.js b/frontend/src/Settings/MediaManagement/MediaManagementConnector.js index 782505599..797cfef10 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: 'settings.mediaManagement' }); + this.props.clearPendingChanges({ section: `settings.${SECTION}` }); } // diff --git a/frontend/src/Settings/Profiles/Delay/DelayProfileDragPreview.js b/frontend/src/Settings/Profiles/Delay/DelayProfileDragPreview.js index 0cc47c7e4..402ddcc13 100644 --- a/frontend/src/Settings/Profiles/Delay/DelayProfileDragPreview.js +++ b/frontend/src/Settings/Profiles/Delay/DelayProfileDragPreview.js @@ -75,7 +75,4 @@ DelayProfileDragPreview.propTypes = { }) }; -/* eslint-disable new-cap */ export default DragLayer(collectDragLayer)(DelayProfileDragPreview); -/* eslint-enable new-cap */ - diff --git a/frontend/src/Settings/Profiles/Delay/DelayProfileDragSource.js b/frontend/src/Settings/Profiles/Delay/DelayProfileDragSource.js index 4661cb5a1..5c1c565e0 100644 --- a/frontend/src/Settings/Profiles/Delay/DelayProfileDragSource.js +++ b/frontend/src/Settings/Profiles/Delay/DelayProfileDragSource.js @@ -137,7 +137,6 @@ DelayProfileDragSource.propTypes = { onDelayProfileDragEnd: PropTypes.func.isRequired }; -/* eslint-disable new-cap */ export default DropTarget( DELAY_PROFILE, delayProfileDropTarget, @@ -147,4 +146,3 @@ export default DropTarget( delayProfileDragSource, collectDragSource )(DelayProfileDragSource)); -/* eslint-enable new-cap */ diff --git a/frontend/src/Settings/Profiles/Quality/QualityProfileItemDragPreview.js b/frontend/src/Settings/Profiles/Quality/QualityProfileItemDragPreview.js index ac1b3ab80..e0c6e8e8c 100644 --- a/frontend/src/Settings/Profiles/Quality/QualityProfileItemDragPreview.js +++ b/frontend/src/Settings/Profiles/Quality/QualityProfileItemDragPreview.js @@ -89,6 +89,4 @@ QualityProfileItemDragPreview.propTypes = { }) }; -/* eslint-disable new-cap */ export default DragLayer(collectDragLayer)(QualityProfileItemDragPreview); -/* eslint-enable new-cap */ diff --git a/frontend/src/Settings/Profiles/Quality/QualityProfileItemDragSource.js b/frontend/src/Settings/Profiles/Quality/QualityProfileItemDragSource.js index a775ab427..0e1838eb3 100644 --- a/frontend/src/Settings/Profiles/Quality/QualityProfileItemDragSource.js +++ b/frontend/src/Settings/Profiles/Quality/QualityProfileItemDragSource.js @@ -230,7 +230,6 @@ QualityProfileItemDragSource.propTypes = { onQualityProfileItemDragEnd: PropTypes.func.isRequired }; -/* eslint-disable new-cap */ export default DropTarget( QUALITY_PROFILE_ITEM, qualityProfileItemDropTarget, @@ -240,5 +239,3 @@ export default DropTarget( qualityProfileItemDragSource, collectDragSource )(QualityProfileItemDragSource)); -/* eslint-enable new-cap */ - diff --git a/frontend/src/Settings/Profiles/Quality/QualityProfileItems.js b/frontend/src/Settings/Profiles/Quality/QualityProfileItems.js index c41d4b77d..4c11894e2 100644 --- a/frontend/src/Settings/Profiles/Quality/QualityProfileItems.js +++ b/frontend/src/Settings/Profiles/Quality/QualityProfileItems.js @@ -74,7 +74,7 @@ class QualityProfileItems extends Component {