Skip to content

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.

fix: try Signoz is visible on success (#3906)

Palash Gupta30b0d42604ae
diff --git a/frontend/src/container/Header/index.tsx b/frontend/src/container/Header/index.tsx
index a930143a9c..c7eb709452 100644
--- a/frontend/src/container/Header/index.tsx
+++ b/frontend/src/container/Header/index.tsx
@@ -104,7 +104,7 @@ function HeaderContainer(): JSX.Element {
);
};
- const { data: licenseData, isFetching } = useLicense();
+ const { data: licenseData, isFetching, status: licenseStatus } = useLicense();
const isLicenseActive =
licenseData?.payload?.licenses?.find((e) => e.isCurrent)?.status ===
@@ -169,7 +169,7 @@ function HeaderContainer(): JSX.Element {
</NavLink>
<Space size="middle" align="center">
- {!isLicenseActive && (
+ {licenseStatus === 'success' && !isLicenseActive && (
<Button onClick={onClickSignozCloud} type="primary">
Try Signoz Cloud
</Button>