Sha256: 32585682177045234dc466ce37e647b740f7dcd48c8b4c60101a93c078b15299

Contents?: true

Size: 750 Bytes

Versions: 39

Compression:

Stored size: 750 Bytes

Contents

import React from 'react';
import { translate as __ } from 'foremanReact/common/I18n';
import {
  headerFormatter,
  cellFormatter,
} from '../../../../move_to_foreman/components/common/table';
import ProfileRpmsCellFormatter from './ProfileRpmsCellFormatter';

const TableSchema = [
  {
    property: 'name',
    header: {
      label: __('Name'),
      formatters: [headerFormatter],
    },
    cell: {
      formatters: [cellFormatter],
    },
  },
  {
    property: 'rpms',
    header: {
      label: __('RPMs'),
      formatters: [headerFormatter],
    },
    cell: {
      formatters: [
        (value, { rowData }) => (
          <ProfileRpmsCellFormatter rpms={rowData.rpms} />
        ),
      ],
    },
  },
];

export default TableSchema;

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
katello-3.16.2 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.1.2 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.1.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.0 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.0.rc5.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.0.rc5 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.0.rc4.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.15.3.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.15.3 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.0.rc4 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.0.rc3.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.15.2 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.0.rc3 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.0.rc2.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.0.rc2 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.15.1.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.0.rc1.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.15.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.16.0.rc1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js