Sha256: 6809216ec2c7e387f83b18df8e041c08ede0271ea60fdfabe0dd174fa1146614
Contents?: true
Size: 1.07 KB
Versions: 6
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: 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
6 entries across 6 versions & 1 rubygems