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 <[email protected]> Authored: Wed Jul 6 17:02:36 2016 +0300 Committer: Alex Antonenko <[email protected]> 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')) {
