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.15.0.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.15.0 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.15.0.rc2 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.15.0.rc1.3 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.15.0.rc1.2 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.15.0.rc1.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.15.0.rc1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.14.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.13.4 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.14.0 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.13.3 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.14.0.rc2 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.13.2 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.14.0.rc1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.13.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.13.0 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.13.0.rc2.1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.13.0.rc2 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js
katello-3.13.0.rc1 webpack/scenes/ModuleStreams/Details/Profiles/TableSchema.js