SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
fix: use preference.name rather than preference.key (#8234)
Yunus Me51056c804c9
diff --git a/frontend/src/AppRoutes/Private.tsx b/frontend/src/AppRoutes/Private.tsxindex f3dd863ff1..5c7b4d35fc 100644--- a/frontend/src/AppRoutes/Private.tsx+++ b/frontend/src/AppRoutes/Private.tsx@@ -15,6 +15,7 @@ import { matchPath, useLocation } from 'react-router-dom';import { SuccessResponseV2 } from 'types/api';import APIError from 'types/api/error';import { LicensePlatform, LicenseState } from 'types/api/licensesV3/getActive';+import { OrgPreference } from 'types/api/preferences/preference';import { Organization } from 'types/api/user/getOrganization';import { UserResponse } from 'types/api/user/getUser';import { USER_ROLES } from 'types/roles';@@ -96,8 +97,8 @@ function PrivateRoute({ children }: PrivateRouteProps): JSX.Element {usersData.data) {const isOnboardingComplete = orgPreferences?.find(- (preference: Record<string, any>) =>- preference.key === ORG_PREFERENCES.ORG_ONBOARDING,+ (preference: OrgPreference) =>+ preference.name === ORG_PREFERENCES.ORG_ONBOARDING,)?.value;const isFirstUser = checkFirstTimeUser();