1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 09:18:34 +00:00

Add warning to remove from queue dialog

This commit is contained in:
Mark McDowall 2019-07-06 11:27:17 -07:00
parent ff8fc237e2
commit 0a92a3012e
3 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,4 @@
.message {
.messageRemove {
margin-bottom: 30px;
color: $dangerColor;
}

View file

@ -69,10 +69,14 @@ class RemoveQueueItemModal extends Component {
</ModalHeader>
<ModalBody>
<div className={styles.message}>
<div>
Are you sure you want to remove '{sourceTitle}' from the queue?
</div>
<div className={styles.messageRemove}>
Removing will remove the download and the file(s) from the download client.
</div>
<FormGroup>
<FormLabel>Blacklist Release</FormLabel>
<FormInputGroup

View file

@ -24,7 +24,7 @@ class AddNewSeriesSearchResult extends Component {
componentDidUpdate(prevProps) {
if (!prevProps.isExistingSeries && this.props.isExistingSeries) {
this.onAddSerisModalClose();
this.onAddSeriesModalClose();
}
}
@ -35,7 +35,7 @@ class AddNewSeriesSearchResult extends Component {
this.setState({ isNewAddSeriesModalOpen: true });
}
onAddSerisModalClose = () => {
onAddSeriesModalClose = () => {
this.setState({ isNewAddSeriesModalOpen: false });
}
@ -161,7 +161,7 @@ class AddNewSeriesSearchResult extends Component {
year={year}
overview={overview}
images={images}
onModalClose={this.onAddSerisModalClose}
onModalClose={this.onAddSeriesModalClose}
/>
</div>
);