mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	js: Convert _.flatten(a, true) to [].concat(...a).
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							62ad436c64
						
					
				
				
					commit
					bafdf5229a
				
			@@ -45,7 +45,7 @@ exports.get_group_typists = function (group) {
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
exports.get_all_typists = function () {
 | 
			
		||||
    let typists = _.flatten(Array.from(typist_dct.values()), true);
 | 
			
		||||
    let typists = [].concat(...Array.from(typist_dct.values()));
 | 
			
		||||
    typists = util.sorted_ids(typists);
 | 
			
		||||
    typists = _.uniq(typists, true);
 | 
			
		||||
    return typists;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user