mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-30 19:02:03 +08:00
[Refactor]: resolve the wrong payload in timeseries log explorer issue (#4345)
Co-authored-by: Vikrant Gupta <54737045+Vikrant2520@users.noreply.github.com>
This commit is contained in:
parent
5b39dc36d6
commit
7b46f86f7f
@ -32,7 +32,7 @@ export const useGetExplorerQueryRange = (
|
||||
const isEnabled = useMemo(() => {
|
||||
if (!options) return isEnabledQuery;
|
||||
if (typeof options.enabled === 'boolean') {
|
||||
return isEnabledQuery || options.enabled;
|
||||
return isEnabledQuery && options.enabled;
|
||||
}
|
||||
|
||||
return isEnabledQuery;
|
||||
|
Loading…
x
Reference in New Issue
Block a user