We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 650faa4 commit 3806100Copy full SHA for 3806100
src/components/common/navigation/NavigationRoutes.tsx
@@ -149,6 +149,7 @@ const NavigationRoutes = ({ reloadVersionConfig }: Readonly<NavigationRoutesType
149
const showCloseButtonAfterGettingStartedClicked = () => {
150
setHelpGettingStartedClicked(true)
151
}
152
+ // We use this to determine if we can show resource recommender, since we do not allow users to feed prometheus url if grafana module is not installed
153
const [isGrafanaModuleInstalled, setIsGrafanaModuleInstalled] = useState(false)
154
const [environmentId, setEnvironmentId] = useState(null)
155
const contextValue = useMemo(() => ({ environmentId, setEnvironmentId }), [environmentId])
0 commit comments