Misc UI Cleanup

This commit is contained in:
Qstick 2020-06-29 21:58:37 -04:00
parent 21b6d9e2eb
commit c971566c5a
8 changed files with 4 additions and 14 deletions

View File

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

View File

@ -75,7 +75,4 @@ DelayProfileDragPreview.propTypes = {
})
};
/* eslint-disable new-cap */
export default DragLayer(collectDragLayer)(DelayProfileDragPreview);
/* eslint-enable new-cap */

View File

@ -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 */

View File

@ -89,6 +89,4 @@ QualityProfileItemDragPreview.propTypes = {
})
};
/* eslint-disable new-cap */
export default DragLayer(collectDragLayer)(QualityProfileItemDragPreview);
/* eslint-enable new-cap */

View File

@ -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 */

View File

@ -74,7 +74,7 @@ class QualityProfileItems extends Component {
<div>
<FormInputHelpText
text="Qualities higher in the list are more preferred. Only checked qualities are wanted"
text="Qualities higher in the list are more preferred. Qualities within the same group are equal. Only checked qualities are wanted"
/>
{

View File

@ -20,7 +20,7 @@ export const firstDayOfWeekOptions = [
export const weekColumnOptions = [
{ key: 'ddd M/D', value: 'Tue 3/25' },
{ key: 'ddd MM/DD', value: 'Tue 03/25' },
{ key: 'ddd D/M', value: 'Tue 25/03' },
{ key: 'ddd D/M', value: 'Tue 25/3' },
{ key: 'ddd DD/MM', value: 'Tue 25/03' }
];

View File

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