You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by on...@apache.org on 2015/08/11 11:07:25 UTC

[2/2] ambari git commit: AMBARI-12713. Empty Alert groups dropdown after page refresh (onechiporenko)

AMBARI-12713. Empty Alert groups dropdown after page refresh (onechiporenko)


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

Branch: refs/heads/trunk
Commit: 8a12fecf1e359138074b210ba4d1e19234a15bf3
Parents: a420358
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Tue Aug 11 12:03:03 2015 +0300
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Tue Aug 11 12:06:07 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/templates/main/alerts.hbs | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8a12fecf/ambari-web/app/templates/main/alerts.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/alerts.hbs b/ambari-web/app/templates/main/alerts.hbs
index 2547ad9..33bc908 100644
--- a/ambari-web/app/templates/main/alerts.hbs
+++ b/ambari-web/app/templates/main/alerts.hbs
@@ -23,7 +23,9 @@
 {{/isAccessible}}
 
 <div id="alert-groups-filter" class="pull-left advanced-header-table groups-filter">
+{{#if App.router.clusterController.isAlertsLoaded}}
   {{view view.alertGroupFilterView}}
+{{/if}}
 </div>
 
 <div id="alerts">