1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-27 22:57:09 -04:00

Improve add/loading error notices

(cherry picked from commit dd704579df43b0dd835f8bb618c4b4412561a888)

Closes #9767
This commit is contained in:
Bogdan
2024-02-04 20:40:38 +02:00
parent 0b090e5f39
commit 9620207503
44 changed files with 53 additions and 54 deletions
@@ -1,5 +1,6 @@
import PropTypes from 'prop-types';
import React from 'react';
import Alert from 'Components/Alert';
import Form from 'Components/Form/Form';
import FormGroup from 'Components/Form/FormGroup';
import FormInputGroup from 'Components/Form/FormInputGroup';
@@ -66,9 +67,9 @@ function EditIndexerModalContent(props) {
{
!isFetching && !!error &&
<div>
<Alert kind={kinds.DANGER}>
{translate('AddIndexerError')}
</div>
</Alert>
}
{
@@ -42,7 +42,7 @@ class Indexer extends Component {
});
};
onDeleteIndexerModalClose= () => {
onDeleteIndexerModalClose = () => {
this.setState({ isDeleteIndexerModalOpen: false });
};