Sfoglia il codice sorgente

AMBARI-7412. Slider View: Alerts keep jumping in a Slider App (alexantonenko)

Alex Antonenko 11 anni fa
parent
commit
5da5019a81

+ 1 - 0
contrib/views/slider/src/main/resources/ui/app/mappers/slider_apps_mapper.js

@@ -59,6 +59,7 @@ App.SliderAppsMapper = App.Mapper.createWithMixins(App.RunPeriodically, {
           lastCheck: alert.last_status_time
           lastCheck: alert.last_status_time
         });
         });
       });
       });
+      alerts = alerts.sortBy('title');
       App.SliderApp.store.pushMany('sliderAppAlert', alerts);
       App.SliderApp.store.pushMany('sliderAppAlert', alerts);
     }
     }
     return alerts.mapProperty('id');
     return alerts.mapProperty('id');