AMBARI-17584. Hide SMARTSENSE QuickLinks for 2.4 (alexantonenko)

Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/51f1a951
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/51f1a951
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/51f1a951

Branch: refs/heads/branch-2.4
Commit: 51f1a9511f1ecfa49fcef199b29f4e233c1b7fa3
Parents: dd37707
Author: Alex Antonenko <[email protected]>
Authored: Wed Jul 6 17:02:36 2016 +0300
Committer: Alex Antonenko <[email protected]>
Committed: Wed Jul 6 19:09:15 2016 +0300

----------------------------------------------------------------------
 ambari-web/app/views/common/quick_view_link_view.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/51f1a951/ambari-web/app/views/common/quick_view_link_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/quick_view_link_view.js 
b/ambari-web/app/views/common/quick_view_link_view.js
index 3ef68d5..44cebe1 100644
--- a/ambari-web/app/views/common/quick_view_link_view.js
+++ b/ambari-web/app/views/common/quick_view_link_view.js
@@ -631,6 +631,9 @@ App.QuickViewLinks = Em.View.extend({
           case "YARN":
             hosts = hosts.concat(this.processYarnHosts(componentHosts));
             break;
+          case "SMARTSENSE":
+            hosts = [];
+            break;
           default:
             hosts = hosts.concat(componentHosts);
             if(hosts.length < 1 && 
this.getWithDefault('content.hostComponents', []).someProperty('isMaster')) {

Reply via email to