ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject ambari git commit: AMBARI-19876. Popup with alerts on the Service summary doesn't have arrows for alerts with state "None" (onechiporenko)
Date Mon, 06 Feb 2017 11:15:53 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 113de54e2 -> e71f3a97a


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/e71f3a97
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e71f3a97
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e71f3a97

Branch: refs/heads/trunk
Commit: e71f3a97af080a3b03335be5606aeaa1aa73085d
Parents: 113de54
Author: Oleg Nechiporenko <onechiporenko@apache.org>
Authored: Mon Feb 6 11:32:12 2017 +0200
Committer: Oleg Nechiporenko <onechiporenko@apache.org>
Committed: Mon Feb 6 11:32:12 2017 +0200

----------------------------------------------------------------------
 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/e71f3a97/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);
               }


Mime
View raw message