From e34e61a20d4b849c873438b6ed6f407bc8f0a785 Mon Sep 17 00:00:00 2001
From: SagarRajput-7 <162284829+SagarRajput-7@users.noreply.github.com>
Date: Sat, 17 May 2025 00:48:41 +0530
Subject: [PATCH] feat: removed allow clear icon from when ALL option is
selected (#7894)
---
.../NewDashboard/DashboardVariablesSelection/VariableItem.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.tsx b/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.tsx
index 00a1bc371d..bbedc73ad8 100644
--- a/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.tsx
+++ b/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.tsx
@@ -462,7 +462,7 @@ function VariableItem({
+ {omittedValues.length}
)}
- allowClear
+ allowClear={selectValue !== ALL_SELECT_VALUE && selectValue !== 'ALL'}
>
{enableSelectAll && (