mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	fixed live tiles if there are more than 2 posts
This commit is contained in:
		@@ -192,7 +192,7 @@ var express = require('express'),
 | 
			
		||||
						function iterator(category, callback) {
 | 
			
		||||
							categories.getRecentReplies(category.cid, 2, function(posts) {
 | 
			
		||||
								category["posts"] = posts;
 | 
			
		||||
								category["post_count"] = posts.length;
 | 
			
		||||
								category["post_count"] = posts.length>2 ? 2 : posts.length;
 | 
			
		||||
								callback(null);
 | 
			
		||||
							});
 | 
			
		||||
						}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user