mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -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 }) {
|
||||
const { id } = useParams();
|
||||
const { path } = useRouteMatch();
|
||||
return <JobTypeRedirect id={id} path={path} view={view || undefined} />;
|
||||
return <JobTypeRedirect id={id} path={path} view={view} />;
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user