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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
fix: fixed selected value getting reset for variables and refetch not going (#7115)
SagarRajput-743a1fa53aab6
diff --git a/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.tsx b/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.tsxindex 7e6c050653..4b3a962ef9 100644--- a/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.tsx+++ b/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.tsx@@ -150,11 +150,13 @@ function VariableItem({let allSelected = false;// The default value for multi-select is ALL and first value for// single select- if (variableData.multiSelect) {- value = newOptionsData;- allSelected = true;- } else {- [value] = newOptionsData;+ if (valueNotInList) {+ if (variableData.multiSelect) {+ value = newOptionsData;+ allSelected = true;+ } else {+ [value] = newOptionsData;+ }}if (variableData && variableData?.name && variableData?.id) {@@ -226,6 +228,9 @@ function VariableItem({}setErrorMessage(message);}+ setVariablesToGetUpdated((prev) =>+ prev.filter((v) => v !== variableData.name),+ );},},);