This is an automated email from the ASF dual-hosted git repository.

ababiichuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 3b643bc  AMBARI-23363 Streamline Application manager's UI link is not 
visible in Ambari-2.7.0.0 (additional patch). (ababiichuk)
3b643bc is described below

commit 3b643bc591973920cec390a3018fecee55761dee
Author: ababiichuk <ababiic...@hortonworks.com>
AuthorDate: Tue Mar 27 20:21:38 2018 +0300

    AMBARI-23363 Streamline Application manager's UI link is not visible in 
Ambari-2.7.0.0 (additional patch). (ababiichuk)
---
 ambari-web/app/views/main/dashboard/widgets.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-web/app/views/main/dashboard/widgets.js 
b/ambari-web/app/views/main/dashboard/widgets.js
index 38226a5..e163ed1 100644
--- a/ambari-web/app/views/main/dashboard/widgets.js
+++ b/ambari-web/app/views/main/dashboard/widgets.js
@@ -46,7 +46,7 @@ App.MainDashboardWidgetsView = Em.View.extend(App.Persist, 
App.LocalStorage, App
     if (App.get('router.clusterController.isHDFSNameSpacesLoaded')) {
       let groups = [];
       const hdfsService = App.HDFSService.find().objectAt(0),
-        hdfsMasterGroups = hdfsService ? [] : 
hdfsService.get('masterComponentGroups');
+        hdfsMasterGroups = hdfsService ? 
hdfsService.get('masterComponentGroups') : [];
       
this.removeObserver('App.router.clusterController.isHDFSNameSpacesLoaded', 
this, 'setWidgetGroups');
       if (hdfsMasterGroups.length > 1) {
         const nameSpacesListItems = hdfsMasterGroups.map(nameSpace => {

-- 
To stop receiving notification emails like this one, please contact
ababiic...@apache.org.

Reply via email to