mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -02:30
No need to pass undefined explicitly. view will be undefined if it's not passed
This commit is contained in:
@@ -44,7 +44,7 @@ function Jobs({ i18n }) {
|
|||||||
function TypeRedirect({ view }) {
|
function TypeRedirect({ view }) {
|
||||||
const { id } = useParams();
|
const { id } = useParams();
|
||||||
const { path } = useRouteMatch();
|
const { path } = useRouteMatch();
|
||||||
return <JobTypeRedirect id={id} path={path} view={view || undefined} />;
|
return <JobTypeRedirect id={id} path={path} view={view} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user