ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject [2/2] ambari git commit: AMBARI-17584. Hide SMARTSENSE QuickLinks for 2.4 (alexantonenko)
Date Wed, 06 Jul 2016 16:11:28 GMT
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/c510a2db
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c510a2db
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c510a2db

Branch: refs/heads/trunk
Commit: c510a2db4faf50ebb942bba0491c53952b92958a
Parents: 445bf7a
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Wed Jul 6 17:02:36 2016 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Wed Jul 6 19:11:37 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/c510a2db/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')) {


Mime
View raw message