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 <onechipore...@apache.org> Authored: Mon Feb 6 11:32:12 2017 +0200 Committer: Oleg Nechiporenko <onechipore...@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); }