AMBARI-19876. Popup with alerts on the Service summary doesn't have arrows for 
alerts with state "None" (onechiporenko)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 9670245d38031e707fcb633a31f0998770cd8724
Parents: 94d9361
Author: Oleg Nechiporenko <onechipore...@apache.org>
Authored: Mon Feb 6 11:32:12 2017 +0200
Committer: Nate Cole <nc...@hortonworks.com>
Committed: Mon Feb 13 15:45:36 2017 -0500

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service/info/summary.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9670245d/ambari-web/app/controllers/main/service/info/summary.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/info/summary.js 
b/ambari-web/app/controllers/main/service/info/summary.js
index 9bdf83a..0ca9775 100644
--- a/ambari-web/app/controllers/main/service/info/summary.js
+++ b/ambari-web/app/controllers/main/service/info/summary.js
@@ -394,9 +394,9 @@ App.MainServiceInfoSummaryController = 
Em.Controller.extend(App.WidgetSectionMix
           };
 
           serviceDefinitions.forEach(function (definition) {
+            definition.set('isCollapsed', true);
             Object.keys(definitionTypes).forEach(function (type) {
               if (definition.get(type)) {
-                definition.set('isCollapsed', true);
                 definitionTypes[type].push(definition);
                 serviceDefinitions = serviceDefinitions.without(definition);
               }

Reply via email to