mirror of https://github.com/lidarr/Lidarr
Misc UI Cleanup
This commit is contained in:
parent
21b6d9e2eb
commit
c971566c5a
|
@ -46,7 +46,7 @@ class MediaManagementConnector extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
this.props.clearPendingChanges({ section: 'settings.mediaManagement' });
|
this.props.clearPendingChanges({ section: `settings.${SECTION}` });
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -75,7 +75,4 @@ DelayProfileDragPreview.propTypes = {
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
/* eslint-disable new-cap */
|
|
||||||
export default DragLayer(collectDragLayer)(DelayProfileDragPreview);
|
export default DragLayer(collectDragLayer)(DelayProfileDragPreview);
|
||||||
/* eslint-enable new-cap */
|
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,6 @@ DelayProfileDragSource.propTypes = {
|
||||||
onDelayProfileDragEnd: PropTypes.func.isRequired
|
onDelayProfileDragEnd: PropTypes.func.isRequired
|
||||||
};
|
};
|
||||||
|
|
||||||
/* eslint-disable new-cap */
|
|
||||||
export default DropTarget(
|
export default DropTarget(
|
||||||
DELAY_PROFILE,
|
DELAY_PROFILE,
|
||||||
delayProfileDropTarget,
|
delayProfileDropTarget,
|
||||||
|
@ -147,4 +146,3 @@ export default DropTarget(
|
||||||
delayProfileDragSource,
|
delayProfileDragSource,
|
||||||
collectDragSource
|
collectDragSource
|
||||||
)(DelayProfileDragSource));
|
)(DelayProfileDragSource));
|
||||||
/* eslint-enable new-cap */
|
|
||||||
|
|
|
@ -89,6 +89,4 @@ QualityProfileItemDragPreview.propTypes = {
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
/* eslint-disable new-cap */
|
|
||||||
export default DragLayer(collectDragLayer)(QualityProfileItemDragPreview);
|
export default DragLayer(collectDragLayer)(QualityProfileItemDragPreview);
|
||||||
/* eslint-enable new-cap */
|
|
||||||
|
|
|
@ -230,7 +230,6 @@ QualityProfileItemDragSource.propTypes = {
|
||||||
onQualityProfileItemDragEnd: PropTypes.func.isRequired
|
onQualityProfileItemDragEnd: PropTypes.func.isRequired
|
||||||
};
|
};
|
||||||
|
|
||||||
/* eslint-disable new-cap */
|
|
||||||
export default DropTarget(
|
export default DropTarget(
|
||||||
QUALITY_PROFILE_ITEM,
|
QUALITY_PROFILE_ITEM,
|
||||||
qualityProfileItemDropTarget,
|
qualityProfileItemDropTarget,
|
||||||
|
@ -240,5 +239,3 @@ export default DropTarget(
|
||||||
qualityProfileItemDragSource,
|
qualityProfileItemDragSource,
|
||||||
collectDragSource
|
collectDragSource
|
||||||
)(QualityProfileItemDragSource));
|
)(QualityProfileItemDragSource));
|
||||||
/* eslint-enable new-cap */
|
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ class QualityProfileItems extends Component {
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<FormInputHelpText
|
<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"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,7 +20,7 @@ export const firstDayOfWeekOptions = [
|
||||||
export const weekColumnOptions = [
|
export const weekColumnOptions = [
|
||||||
{ key: 'ddd M/D', value: 'Tue 3/25' },
|
{ key: 'ddd M/D', value: 'Tue 3/25' },
|
||||||
{ key: 'ddd MM/DD', value: 'Tue 03/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' }
|
{ key: 'ddd DD/MM', value: 'Tue 25/03' }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ class UISettingsConnector extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
this.props.clearPendingChanges({ section: 'settings.ui' });
|
this.props.clearPendingChanges({ section: `settings.${SECTION}` });
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue