forked from MapComplete/MapComplete
		
	Fix caching
This commit is contained in:
		
							parent
							
								
									65dbcb4f12
								
							
						
					
					
						commit
						eb8fea5692
					
				
					 2 changed files with 10 additions and 7 deletions
				
			
		|  | @ -82,12 +82,15 @@ export default class FilteringFeatureSource implements FeatureSourceForLayer, Ti | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             const tagsFilter = Array.from(layer.appliedFilters.data.values()); |             const appliedFilters = layer.appliedFilters?.data | ||||||
|             for (const filter of tagsFilter ?? []) { |             if(appliedFilters !== undefined){ | ||||||
|                 const neededTags : TagsFilter = filter?.currentFilter |                 const tagsFilter = Array.from(appliedFilters.values()); | ||||||
|                 if (neededTags !== undefined && !neededTags.matchesProperties(f.feature.properties)) { |                 for (const filter of tagsFilter ?? []) { | ||||||
|                     // Hidden by the filter on the layer itself - we want to hide it no matter wat
 |                     const neededTags : TagsFilter = filter?.currentFilter | ||||||
|                     return false; |                     if (neededTags !== undefined && !neededTags.matchesProperties(f.feature.properties)) { | ||||||
|  |                         // Hidden by the filter on the layer itself - we want to hide it no matter wat
 | ||||||
|  |                         return false; | ||||||
|  |                     } | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -2,7 +2,7 @@ import {Utils} from "../Utils"; | ||||||
| 
 | 
 | ||||||
| export default class Constants { | export default class Constants { | ||||||
| 
 | 
 | ||||||
|     public static vNumber = "0.14.1"; |     public static vNumber = "0.14.2"; | ||||||
|     public static ImgurApiKey = '7070e7167f0a25a' |     public static ImgurApiKey = '7070e7167f0a25a' | ||||||
|     public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85" |     public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue