Kanagaraj M has uploaded a new change for review.

Change subject: webadmin: Hide Storage tab in gluster cluster
......................................................................

webadmin: Hide Storage tab in gluster cluster

When a gluster only cluster is selected in the
System tree the Storage tab will be hidden.

Change-Id: Iae50b6a4769bd66261f4ac22f685bdc2a72cf2f6
Bug-Url: https://bugzilla.redhat.com/882095
Signed-off-by: Kanagaraj M <kmayi...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/CommonModel.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/83/11583/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/CommonModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/CommonModel.java
index 8af85d5..ac49c24 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/CommonModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/CommonModel.java
@@ -589,6 +589,7 @@
             if (!cluster.supportsVirtService()) {
                 vmList.setIsAvailable(false);
                 templateList.setIsAvailable(false);
+                storageList.setIsAvailable(false);
             }
         }
 


--
To view, visit http://gerrit.ovirt.org/11583
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iae50b6a4769bd66261f4ac22f685bdc2a72cf2f6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kanagaraj M <kmayi...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to