Sha256: 04c269ca0f9cb7873a88f7cf02e9d509a0581af4e0fe23e081fe704087ed8c77

Contents?: true

Size: 741 Bytes

Versions: 70

Compression:

Stored size: 741 Bytes

Contents

import React from 'react';
import { Route } from 'react-router-dom';
import { number, shape } from 'prop-types';
import ContentViewVersions from './ContentViewVersions';
import ContentViewVersionDetails from './VersionDetails/ContentViewVersionDetails';

const ContentViewVersionsRoutes = ({ cvId, details }) => (
  <>
    <Route exact path="/versions">
      <ContentViewVersions cvId={cvId} details={details} />
    </Route>
    <Route path="/versions/:versionId([0-9]+)">
      <ContentViewVersionDetails cvId={cvId} details={details} />
    </Route>
  </>
);

ContentViewVersionsRoutes.propTypes = {
  cvId: number.isRequired,
  details: shape({
    permissions: shape({}),
  }).isRequired,
};

export default ContentViewVersionsRoutes;

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
katello-4.15.0.rc2 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.15.0.rc1 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.14.1 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.14.0 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.14.0.rc3 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.14.0.rc2 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.14.0.rc1.1 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.14.0.rc1 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.13.1 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.13.0 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.12.1 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.13.0.rc1 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.12.0 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.12.0.rc3 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.12.0.rc2 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.12.0.rc1 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.11.1 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.11.0 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.11.0.rc2 webpack/scenes/ContentViews/Details/Versions/index.js
katello-4.11.0.rc1 webpack/scenes/ContentViews/Details/Versions/index.js