ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject [12/35] git commit: AMBARI-7545. Slider View: "YARN application" quick link has no label and url, in case when app does not have other quick links (alexantonenko)
Date Tue, 30 Sep 2014 20:48:18 GMT
AMBARI-7545. Slider View: "YARN application" quick link has no label and url, in case when
app does not have other quick links (alexantonenko)


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

Branch: refs/heads/branch-alerts-dev
Commit: 70801b980eec5dcf463ca48f17d8494d7ffd0f8e
Parents: 7faca85
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Mon Sep 29 22:02:21 2014 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Mon Sep 29 22:02:21 2014 +0300

----------------------------------------------------------------------
 .../slider/src/main/resources/ui/app/mappers/slider_apps_mapper.js  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/70801b98/contrib/views/slider/src/main/resources/ui/app/mappers/slider_apps_mapper.js
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/mappers/slider_apps_mapper.js
b/contrib/views/slider/src/main/resources/ui/app/mappers/slider_apps_mapper.js
index 56b1081..efc85b2 100644
--- a/contrib/views/slider/src/main/resources/ui/app/mappers/slider_apps_mapper.js
+++ b/contrib/views/slider/src/main/resources/ui/app/mappers/slider_apps_mapper.js
@@ -183,6 +183,7 @@ App.SliderAppsMapper = App.Mapper.createWithMixins(App.RunPeriodically,
{
     );
 
     if(!data.urls){
+      App.SliderApp.store.pushMany('QuickLink', quickLinks);
       return quickLinks.mapProperty('id');
     }
 


Mime
View raw message