You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2014/09/29 21:06:35 UTC

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)

Repository: ambari
Updated Branches:
  refs/heads/trunk 7faca858d -> 70801b980


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/trunk
Commit: 70801b980eec5dcf463ca48f17d8494d7ffd0f8e
Parents: 7faca85
Author: Alex Antonenko <hi...@gmail.com>
Authored: Mon Sep 29 22:02:21 2014 +0300
Committer: Alex Antonenko <hi...@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');
     }