This is an automated email from the ASF dual-hosted git repository.

zitadombi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new d9fa1ea535 HDDS-9556. Recon UI : Bucket Drop down filter is not 
getting disabled when more than 1 volume is selected (#5503)
d9fa1ea535 is described below

commit d9fa1ea5350e3f030dd2e97b41dc6a7dc401bd14
Author: Smita <[email protected]>
AuthorDate: Mon Oct 30 20:33:09 2023 +0530

    HDDS-9556. Recon UI : Bucket Drop down filter is not getting disabled when 
more than 1 volume is selected (#5503)
---
 .../webapps/recon/ozone-recon-web/src/views/insights/insights.tsx       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/insights/insights.tsx
 
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/insights/insights.tsx
index 1f65d076bd..4b595961b4 100644
--- 
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/insights/insights.tsx
+++ 
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/insights/insights.tsx
@@ -95,7 +95,7 @@ export class Insights extends React.Component<Record<string, 
object>, IInsightsS
     // If there is only one volume, bucket selection dropdown should not be 
disabled.
     const isBucketSelectionDisabled = !selectedVolumes ||
         (selectedVolumes &&
-            (selectedVolumes.length > 2 &&
+            (selectedVolumes.length > 1 &&
                 (volumeBucketMap.size !== 1)));
     let bucketOptions: IOption[] = [];
     // When volume is changed and more than one volume is selected,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to