mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	starred_messages: Rename count() to get_count().
It would conflict with the count variable after migration to an ES6 module. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							03b05de7d5
						
					
				
				
					commit
					1d1eed2f17
				
			@@ -28,7 +28,7 @@ exports.remove = function (ids) {
 | 
			
		||||
    exports.rerender_ui();
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
exports.count = function () {
 | 
			
		||||
exports.get_count = function () {
 | 
			
		||||
    return exports.starred_ids.size;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -37,7 +37,7 @@ exports.get_starred_msg_ids = function () {
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
exports.rerender_ui = function () {
 | 
			
		||||
    let count = exports.count();
 | 
			
		||||
    let count = exports.get_count();
 | 
			
		||||
 | 
			
		||||
    if (!page_params.starred_message_counts) {
 | 
			
		||||
        // This essentially hides the count
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user