mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 22:19:01 +08:00
chore: search filter is made conditional as filters need to be present
This commit is contained in:
parent
729c7fce7b
commit
d7d0d70aa5
@ -41,6 +41,7 @@ function CommonCheckBox(props: CommonCheckBoxProps): JSX.Element {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
{statusObj.length > 0 && (
|
||||||
<Search
|
<Search
|
||||||
value={searchFilter}
|
value={searchFilter}
|
||||||
onChange={(e): void => setSearchFilter(e.target.value)}
|
onChange={(e): void => setSearchFilter(e.target.value)}
|
||||||
@ -49,6 +50,7 @@ function CommonCheckBox(props: CommonCheckBoxProps): JSX.Element {
|
|||||||
}}
|
}}
|
||||||
placeholder="Filter Values"
|
placeholder="Filter Values"
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
|
|
||||||
{statusObj
|
{statusObj
|
||||||
.sort((a, b) => {
|
.sort((a, b) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user