Sha256: 049bde1c93128b3dcb719a0fe345adc2df424444a0b51f880fd118fb6d31469e

Contents?: true

Size: 629 Bytes

Versions: 36

Compression:

Stored size: 629 Bytes

Contents

import React from 'react';
import { addGlobalFill } from 'foremanReact/components/common/Fill/GlobalFill';
import InventoryAutoUploadSwitcher from './ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload';

const fills = [
  {
    slot: 'katello-manage-manifest-form',
    name: 'InventoryAutoUpload',
    component: () => <InventoryAutoUploadSwitcher />,
    weight: 50,
  },
];

export const registerFills = () => {
  fills.forEach(({ slot, name, component: Component, weight }, index) =>
    addGlobalFill(
      slot,
      name,
      <Component key={`rh-cloud-fill-${index}`} />,
      weight
    )
  );
};

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
foreman_rh_cloud-4.0.36 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-3.0.33 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-4.0.35 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-3.0.32 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-4.0.32 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-4.0.31 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-4.0.30 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-3.0.29 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-4.0.29 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-3.0.28 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-5.0.28 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-4.0.27 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-3.0.26 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-4.0.26 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-4.0.25.1 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-3.0.25 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-4.0.25 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-3.0.24.1 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-4.0.24.1 webpack/ForemanRhCloudFills.js
foreman_rh_cloud-3.0.24 webpack/ForemanRhCloudFills.js