mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
fix build
This commit is contained in:
@@ -1223,15 +1223,16 @@ module.controller('ManageDuplicateFeedsCtrl', [
|
||||
};
|
||||
|
||||
$scope.autoMerge = function() {
|
||||
var callback = function() {
|
||||
alert('done!');
|
||||
};
|
||||
for (var i = 0; i < $scope.counts.length; i++) {
|
||||
var count = $scope.counts[i];
|
||||
if (count.autoMerge) {
|
||||
AdminCleanupService.mergeFeeds({
|
||||
intoFeedId: count.feeds[0].id,
|
||||
feedIds: _.pluck(count.feeds, 'id')
|
||||
}, function() {
|
||||
alert('done!');
|
||||
});
|
||||
}, callback);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user