forked from MapComplete/MapComplete
		
	Fix tests, fix long load by offloading minimap detection to generateLayerOverview
This commit is contained in:
		
							parent
							
								
									d7f8ff01d5
								
							
						
					
					
						commit
						cbc7fa6553
					
				
					 6 changed files with 56 additions and 33 deletions
				
			
		
							
								
								
									
										2
									
								
								Utils.ts
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Utils.ts
									
										
									
									
									
								
							|  | @ -137,7 +137,7 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be | |||
|     } | ||||
| 
 | ||||
|     public static NoNull<T>(array: T[]): T[] { | ||||
|         return array.filter(o => o !== undefined && o !== null) | ||||
|         return array?.filter(o => o !== undefined && o !== null) | ||||
|     } | ||||
| 
 | ||||
|     public static Hist(array: string[]): Map<string, number> { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue