Add warning to remove from queue dialog

pull/3210/head
Mark McDowall 5 years ago
parent ff8fc237e2
commit 0a92a3012e

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

@ -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

@ -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>
);

Loading…
Cancel
Save