Sha256: 1bec1336d9f9e23c3c903b00e309db8d106429ca4b0ff99bfb43e76e7412073e

Contents?: true

Size: 670 Bytes

Versions: 8

Compression:

Stored size: 670 Bytes

Contents

import React from 'react';
import { Route, Switch, Redirect } from 'react-router-dom';
import { PackagesTab } from '../PackagesTab/PackagesTab.js';
import { ErrataTab } from '../ErrataTab/ErrataTab.js';
import { ModuleStreamsTab } from '../ModuleStreamsTab/ModuleStreamsTab';
import { route } from './helpers';

const SecondaryTabRoutes = () => (
  <Switch>
    <Route path={route('packages')}>
      <PackagesTab />
    </Route>
    <Route path={route('errata')}>
      <ErrataTab />
    </Route>
    <Route path={route('module-streams')}>
      <ModuleStreamsTab />
    </Route>
    <Redirect to={route('errata')} />
  </Switch>
);

export default SecondaryTabRoutes;

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
katello-4.4.2.2 webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js
katello-4.4.2.1 webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js
katello-4.4.2 webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js
katello-4.4.1 webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js
katello-4.5.0.rc1 webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js
katello-4.4.0.2 webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js
katello-4.4.0.1 webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js
katello-4.4.0 webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js