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.1.2 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.1.1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.1.0 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.1.0.rc2.2 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.1.0.rc2.1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.1.0.rc2 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.1.0.rc1.1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js
katello-4.1.0.rc1 webpack/components/pf3Table/formatters/entitlementsValueFormatter.js