diff --git a/app/react/sidebar/SettingsSidebar.tsx b/app/react/sidebar/SettingsSidebar.tsx index 6f3e27e9a..b07ef715c 100644 --- a/app/react/sidebar/SettingsSidebar.tsx +++ b/app/react/sidebar/SettingsSidebar.tsx @@ -70,13 +70,7 @@ export function SettingsSidebar({ isAdmin, isTeamLeader }: Props) { label="Tags" data-cy="portainerSidebar-environmentTags" /> - {isBE && ( - - )} + ); } + +function EdgeUpdatesSidebarItem() { + const settingsQuery = usePublicSettings(); + + if (!isBE || !settingsQuery.data?.EnableEdgeComputeFeatures) { + return null; + } + + return ( + + ); +}