mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-24 12:16:33 +10:00
fixed a problem where favorites list was displayed incorrectly
This commit is contained in:
@@ -397,7 +397,7 @@
|
||||
*/
|
||||
parseApplicationList = function (data, cb) {
|
||||
UserConfigService.getFavoriteList(function( aSavedFavoriteList ){
|
||||
scope.favoriteCount = aSavedFavoriteList.length;
|
||||
// scope.favoriteCount = aSavedFavoriteList.length;
|
||||
scope.applications = [{
|
||||
text: '',
|
||||
value: ''
|
||||
@@ -422,6 +422,7 @@
|
||||
aGeneralList.push(oValue);
|
||||
}
|
||||
});
|
||||
scope.favoriteCount = aFavoriteList.length;
|
||||
scope.applications = aFavoriteList.concat( aGeneralList );
|
||||
if (angular.isFunction(cb)) {
|
||||
cb.apply(scope);
|
||||
|
||||
@@ -250,7 +250,7 @@
|
||||
fetchStart = function ( bHasTransactionInfo ) {
|
||||
var query = getQuery();
|
||||
getTransactionList(query, function (data) {
|
||||
if (data.metadata.length === 0 || true) {
|
||||
if (data.metadata.length === 0) {
|
||||
$scope.$emit('timeSliderDirective.disableMore');
|
||||
$scope.$emit('timeSliderDirective.changeMoreToDone');
|
||||
if ( fetchStartLoadTryCount < fetchStartLoadTryMaxCount ) {
|
||||
|
||||
Reference in New Issue
Block a user