mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -03:30
Fixes spelling error
This commit is contained in:
parent
25105d813d
commit
5f96aee871
@ -33,7 +33,7 @@ function TemplatesList({ i18n }) {
|
||||
const { id: projectId } = useParams();
|
||||
const { pathname, search } = useLocation();
|
||||
|
||||
const [deletionError, setDelectionError] = useState(null);
|
||||
const [deletionError, setDeletionError] = useState(null);
|
||||
const [contentError, setContentError] = useState(null);
|
||||
const [hasContentLoading, setHasContentLoading] = useState(true);
|
||||
const [jtActions, setJTActions] = useState(null);
|
||||
@ -75,7 +75,7 @@ function TemplatesList({ i18n }) {
|
||||
jtOptionsPromise,
|
||||
wfjtOptionsPromise,
|
||||
]);
|
||||
setDelectionError(null);
|
||||
setDeletionError(null);
|
||||
|
||||
try {
|
||||
const [
|
||||
@ -133,7 +133,7 @@ function TemplatesList({ i18n }) {
|
||||
);
|
||||
setCount(count - selected.length);
|
||||
} catch (err) {
|
||||
setDelectionError(err);
|
||||
setDeletionError(err);
|
||||
}
|
||||
};
|
||||
|
||||
@ -243,7 +243,7 @@ function TemplatesList({ i18n }) {
|
||||
isOpen={deletionError}
|
||||
variant="danger"
|
||||
title={i18n._(t`Error!`)}
|
||||
onClose={() => setDelectionError(null)}
|
||||
onClose={() => setDeletionError(null)}
|
||||
>
|
||||
{i18n._(t`Failed to delete one or more templates.`)}
|
||||
<ErrorDetail error={deletionError} />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user