mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-31 05:31:58 +08:00
feat: tagkey length check is added (#999)
This commit is contained in:
parent
bf52722689
commit
95311db543
@ -62,11 +62,11 @@ function TagsKey(props: TagsKeysProps): JSX.Element {
|
||||
const counter = useRef(0);
|
||||
|
||||
useEffect(() => {
|
||||
if (counter.current === 0) {
|
||||
if (counter.current === 0 && selectedKey.length === 0) {
|
||||
counter.current = 1;
|
||||
onSearchHandler();
|
||||
}
|
||||
}, [onSearchHandler]);
|
||||
}, [onSearchHandler, selectedKey.length]);
|
||||
|
||||
return (
|
||||
<AutoComplete
|
||||
|
Loading…
x
Reference in New Issue
Block a user