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.

chore: search filter is made conditional as filters need to be present

Palashd7d0d70aa5e2
diff --git a/frontend/src/container/Trace/Filters/Panel/PanelBody/CommonCheckBox/index.tsx b/frontend/src/container/Trace/Filters/Panel/PanelBody/CommonCheckBox/index.tsx
index 72d7439ade..29255ae549 100644
--- a/frontend/src/container/Trace/Filters/Panel/PanelBody/CommonCheckBox/index.tsx
+++ b/frontend/src/container/Trace/Filters/Panel/PanelBody/CommonCheckBox/index.tsx
@@ -41,14 +41,16 @@ function CommonCheckBox(props: CommonCheckBoxProps): JSX.Element {
return (
<>
- <Search
- value={searchFilter}
- onChange={(e): void => setSearchFilter(e.target.value)}
- style={{
- padding: '0 3%',
- }}
- placeholder="Filter Values"
- />
+ {statusObj.length > 0 && (
+ <Search
+ value={searchFilter}
+ onChange={(e): void => setSearchFilter(e.target.value)}
+ style={{
+ padding: '0 3%',
+ }}
+ placeholder="Filter Values"
+ />
+ )}
{statusObj
.sort((a, b) => {