webpack/src/Extends/Host/PuppetTab/Routes.js in foreman_puppet-4.1.1 vs webpack/src/Extends/Host/PuppetTab/Routes.js in foreman_puppet-5.0.0
- old
+ new
@@ -1,30 +1,28 @@
import PropTypes from 'prop-types';
import React from 'react';
import { Route, Switch, Redirect } from 'react-router-dom';
-import { translate as __ } from 'foremanReact/common/I18n';
import { route } from './helpers';
-import EmptyPage from './SubTabs/EmptyPage';
import Reports from './SubTabs/Reports';
import ENCPreview from './SubTabs/ENCPreview';
const SecondaryTabRoutes = ({ hostName, hostInfo, status }) => (
<Switch>
<Route path={route('reports')}>
<Reports hostName={hostName} hostInfo={hostInfo} status={status} />
</Route>
- <Route path={route('assigned')}>
+ {/* <Route path={route('assigned')}>
<EmptyPage
header={__('Assigned classes')}
description={__('This tab is still a work in progress')}
/>
</Route>
<Route path={route('smart-classes')}>
<EmptyPage
header={__('Smart class parameters')}
description={__('This tab is still a work in progress')}
/>
- </Route>
+ </Route> */}
<Route path={route('yaml')}>
<ENCPreview hostName={hostName} />
</Route>
<Redirect to={route('reports')} />
</Switch>