Sha256: 28064a47e4ef541434682a822ee602a9b191ddba9d2662c8b2a58fb168e1a573
Contents?: true
Size: 1.06 KB
Versions: 16
Compression:
Stored size: 1.06 KB
Contents
import React from 'react'; import { addGlobalFill } from 'foremanReact/components/common/Fill/GlobalFill'; import InventoryAutoUploadSwitcher from './ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload'; import NewHostDetailsTab from './InsightsHostDetailsTab/NewHostDetailsTab'; import InsightsTotalRiskCard from './InsightsHostDetailsTab/InsightsTotalRiskChart'; const fills = [ { slot: 'katello-manage-manifest-form', name: 'InventoryAutoUpload', component: () => <InventoryAutoUploadSwitcher />, weight: 50, }, { slot: 'host-details-page-tabs', name: 'Insights', component: props => <NewHostDetailsTab {...props} />, weight: 400, }, { slot: 'details-cards', name: 'insights-total-risk-chart', component: props => <InsightsTotalRiskCard {...props} />, weight: 1100, }, ]; export const registerFills = () => { fills.forEach(({ slot, name, component: Component, weight }, index) => addGlobalFill( slot, name, <Component key={`rh-cloud-fill-${index}`} />, weight ) ); };
Version data entries
16 entries across 16 versions & 1 rubygems