mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-31 04:00:18 -07:00
New: UI Updates (Backup Restore in App, Profile Cloning)
UI Pulls from Sonarr
This commit is contained in:
parent
80a5701b99
commit
744742b5ff
80 changed files with 2376 additions and 795 deletions
|
@ -26,6 +26,11 @@ class MetadataProfiles extends Component {
|
|||
//
|
||||
// Listeners
|
||||
|
||||
onCloneMetadataProfilePress = (id) => {
|
||||
this.props.onCloneMetadataProfilePress(id);
|
||||
this.setState({ isMetadataProfileModalOpen: true });
|
||||
}
|
||||
|
||||
onEditMetadataProfilePress = () => {
|
||||
this.setState({ isMetadataProfileModalOpen: true });
|
||||
}
|
||||
|
@ -62,6 +67,7 @@ class MetadataProfiles extends Component {
|
|||
{...item}
|
||||
isDeleting={isDeleting}
|
||||
onConfirmDeleteMetadataProfile={onConfirmDeleteMetadataProfile}
|
||||
onCloneMetadataProfilePress={this.onCloneMetadataProfilePress}
|
||||
/>
|
||||
);
|
||||
})
|
||||
|
@ -96,7 +102,8 @@ MetadataProfiles.propTypes = {
|
|||
error: PropTypes.object,
|
||||
items: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||
isDeleting: PropTypes.bool.isRequired,
|
||||
onConfirmDeleteMetadataProfile: PropTypes.func.isRequired
|
||||
onConfirmDeleteMetadataProfile: PropTypes.func.isRequired,
|
||||
onCloneMetadataProfilePress: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
export default MetadataProfiles;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue