Sha256: 5e200895d923ff0db8b057a1d189ad5c02c9a449084d87cb2f99f1ce4ea603dc
Contents?: true
Size: 1.07 KB
Versions: 25
Compression:
Stored size: 1.07 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: 'host-overview-cards', name: 'insights-total-risk-chart', component: props => <InsightsTotalRiskCard {...props} />, weight: 2800, }, ]; export const registerFills = () => { fills.forEach(({ slot, name, component: Component, weight }, index) => addGlobalFill( slot, name, <Component key={`rh-cloud-fill-${index}`} />, weight ) ); };
Version data entries
25 entries across 25 versions & 1 rubygems