mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 17:39:03 +08:00
fix: get started on available for cloud users (#6103)
Co-authored-by: Vikrant Gupta <vikrant.thomso@gmail.com>
This commit is contained in:
parent
266ed58908
commit
e1ca71dcea
@ -59,9 +59,6 @@ function App(): JSX.Element {
|
|||||||
|
|
||||||
const isDarkMode = useIsDarkMode();
|
const isDarkMode = useIsDarkMode();
|
||||||
|
|
||||||
const isOnboardingEnabled =
|
|
||||||
useFeatureFlags(FeatureKeys.ONBOARDING)?.active || false;
|
|
||||||
|
|
||||||
const isChatSupportEnabled =
|
const isChatSupportEnabled =
|
||||||
useFeatureFlags(FeatureKeys.CHAT_SUPPORT)?.active || false;
|
useFeatureFlags(FeatureKeys.CHAT_SUPPORT)?.active || false;
|
||||||
|
|
||||||
@ -77,6 +74,10 @@ function App(): JSX.Element {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const isOnboardingEnabled =
|
||||||
|
allFlags.find((flag) => flag.name === FeatureKeys.ONBOARDING)?.active ||
|
||||||
|
false;
|
||||||
|
|
||||||
if (!isOnboardingEnabled || !isCloudUserVal) {
|
if (!isOnboardingEnabled || !isCloudUserVal) {
|
||||||
const newRoutes = routes.filter(
|
const newRoutes = routes.filter(
|
||||||
(route) => route?.path !== ROUTES.GET_STARTED,
|
(route) => route?.path !== ROUTES.GET_STARTED,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user