mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-31 12:10:19 -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
|
@ -92,7 +92,7 @@ class EditMetadataProfileModalContentConnector extends Component {
|
|||
}
|
||||
|
||||
componentDidMount() {
|
||||
if (!this.props.id) {
|
||||
if (!this.props.id && !this.props.isPopulated) {
|
||||
this.props.fetchMetadataProfileSchema();
|
||||
}
|
||||
}
|
||||
|
@ -162,6 +162,7 @@ class EditMetadataProfileModalContentConnector extends Component {
|
|||
EditMetadataProfileModalContentConnector.propTypes = {
|
||||
id: PropTypes.number,
|
||||
isFetching: PropTypes.bool.isRequired,
|
||||
isPopulated: PropTypes.bool.isRequired,
|
||||
isSaving: PropTypes.bool.isRequired,
|
||||
saveError: PropTypes.object,
|
||||
item: PropTypes.object.isRequired,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue