mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-05 14:40:41 +08:00
Merge remote-tracking branch 'origin/develop' into feat/logs
This commit is contained in:
commit
33e7252645
@ -30,8 +30,8 @@ function PromQLQueryContainer({
|
||||
}: IPromQLQueryHandleChange): void => {
|
||||
const allQueries = queryData[WIDGET_PROMQL_QUERY_KEY_NAME];
|
||||
const currentIndexQuery = allQueries[queryIndex];
|
||||
if (query) currentIndexQuery.query = query;
|
||||
if (legend) currentIndexQuery.legend = legend;
|
||||
if (query !== undefined) currentIndexQuery.query = query;
|
||||
if (legend !== undefined) currentIndexQuery.legend = legend;
|
||||
|
||||
if (toggleDisable) {
|
||||
currentIndexQuery.disabled = !currentIndexQuery.disabled;
|
||||
|
@ -55,7 +55,7 @@ function QueryBuilderQueryContainer({
|
||||
currentIndexQuery.aggregateOperator = aggregateFunction;
|
||||
}
|
||||
|
||||
if (metricName) {
|
||||
if (metricName !== undefined) {
|
||||
currentIndexQuery.metricName = metricName;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user