Skip to content

Commit dfea332

Browse files
committed
feat: add isFELibAvailable to MainContext
1 parent c2fd97c commit dfea332

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/common/navigation/NavigationRoutes.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ const SoftwareDistributionHubRenderProvider = importComponentFromFELibrary(
110110
)
111111
const migrateUserPreferences: (userPreferences: UserPreferencesType) => Promise<UserPreferencesType> =
112112
importComponentFromFELibrary('migrateUserPreferences', null, 'function')
113+
const isFELibAvailable = importComponentFromFELibrary('isFELibAvailable', null, 'function')
113114

114115
const ViewIsPipelineRBACConfigured: FunctionComponent<{
115116
userPreferences: UserPreferencesType
@@ -504,6 +505,7 @@ export default function NavigationRoutes({ reloadVersionConfig }: Readonly<Navig
504505
sidePanelConfig,
505506
setSidePanelConfig,
506507
isEnterprise: currentServerInfo?.serverInfo?.installationType === InstallationType.ENTERPRISE,
508+
isFELibAvailable: !!isFELibAvailable,
507509
}}
508510
>
509511
<motion.main id={DEVTRON_BASE_MAIN_ID} style={{ gridTemplateColumns }}>

0 commit comments

Comments
 (0)