mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Update ExecutionEnvironments.jsx with breadcrumb replacement
This commit is contained in:
parent
0c497fa682
commit
acee22435b
@ -6,7 +6,7 @@ import { Route, Switch } from 'react-router-dom';
|
||||
import ExecutionEnvironment from './ExecutionEnvironment';
|
||||
import ExecutionEnvironmentAdd from './ExecutionEnvironmentAdd';
|
||||
import ExecutionEnvironmentList from './ExecutionEnvironmentList';
|
||||
import Breadcrumbs from '../../components/Breadcrumbs';
|
||||
import ScreenHeader from '../../components/ScreenHeader/ScreenHeader';
|
||||
|
||||
function ExecutionEnvironments({ i18n }) {
|
||||
const [breadcrumbConfig, setBreadcrumbConfig] = useState({
|
||||
@ -35,7 +35,10 @@ function ExecutionEnvironments({ i18n }) {
|
||||
);
|
||||
return (
|
||||
<>
|
||||
<Breadcrumbs breadcrumbConfig={breadcrumbConfig} />
|
||||
<ScreenHeader
|
||||
streamType="execution_environment"
|
||||
breadcrumbConfig={breadcrumbConfig}
|
||||
/>
|
||||
<Switch>
|
||||
<Route path="/execution_environments/add">
|
||||
<ExecutionEnvironmentAdd />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user