Sha256: 0234894eae51b8f1fa990797ced8a57e77b5c05cbc38333d1d30fa0bda608b2e

Contents?: true

Size: 538 Bytes

Versions: 88

Compression:

Stored size: 538 Bytes

Contents

import React from 'react';
import { Table as PfTable } from 'patternfly-react';
import { getEntitlementsDisplayValue } from '../../../scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableHelpers.js';

export default (rawValue, additionalData) => {
  const { available, upstream_pool_id: upstreamPoolId, collapsible } = additionalData.rowData;
  const value = getEntitlementsDisplayValue({
    rawValue, available, collapsible, upstreamPoolId,
  });

  return (
    <PfTable.Cell>
      {value}
    </PfTable.Cell>
  );
};

Version data entries

88 entries across 88 versions & 1 rubygems

Version Path
katello-4.15.0.rc2 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.15.0.rc1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.14.1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.14.0 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.14.0.rc3 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.14.0.rc2 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.14.0.rc1.1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.14.0.rc1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.13.1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.13.0 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.12.1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.13.0.rc1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.12.0 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.12.0.rc3 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.12.0.rc2 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.12.0.rc1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.11.1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.11.0 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.11.0.rc2 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.11.0.rc1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js