Update UI Packages

Align with Lidarr
This commit is contained in:
Qstick
2023-01-23 22:53:16 -06:00
parent fbdc9f3a13
commit 1caa49c895
330 changed files with 3555 additions and 4096 deletions
@@ -20,7 +20,7 @@ class EditRemotePathMappingModalConnector extends Component {
onModalClose = () => {
this.props.clearPendingChanges({ section: 'settings.remotePathMappings' });
this.props.onModalClose();
}
};
//
// Render
@@ -127,11 +127,11 @@ class EditRemotePathMappingModalContentConnector extends Component {
onInputChange = ({ name, value }) => {
this.props.dispatchSetRemotePathMappingValue({ name, value });
}
};
onSavePress = () => {
this.props.dispatchSaveRemotePathMapping({ id: this.props.id });
}
};
//
// Render
@@ -28,26 +28,26 @@ class RemotePathMapping extends Component {
onEditRemotePathMappingPress = () => {
this.setState({ isEditRemotePathMappingModalOpen: true });
}
};
onEditRemotePathMappingModalClose = () => {
this.setState({ isEditRemotePathMappingModalOpen: false });
}
};
onDeleteRemotePathMappingPress = () => {
this.setState({
isEditRemotePathMappingModalOpen: false,
isDeleteRemotePathMappingModalOpen: true
});
}
};
onDeleteRemotePathMappingModalClose = () => {
this.setState({ isDeleteRemotePathMappingModalOpen: false });
}
};
onConfirmDeleteRemotePathMapping = () => {
this.props.onConfirmDeleteRemotePathMapping(this.props.id);
}
};
//
// Render
@@ -28,11 +28,11 @@ class RemotePathMappings extends Component {
onAddRemotePathMappingPress = () => {
this.setState({ isAddRemotePathMappingModalOpen: true });
}
};
onModalClose = () => {
this.setState({ isAddRemotePathMappingModalOpen: false });
}
};
//
// Render
@@ -35,7 +35,7 @@ class RemotePathMappingsConnector extends Component {
onConfirmDeleteRemotePathMapping = (id) => {
this.props.dispatchDeleteRemotePathMapping({ id });
}
};
//
// Render