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,7 +82,9 @@ export default class FilteringFeatureSource implements FeatureSourceForLayer, Ti | |||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             const tagsFilter = Array.from(layer.appliedFilters.data.values()); | ||||
|             const appliedFilters = layer.appliedFilters?.data | ||||
|             if(appliedFilters !== undefined){ | ||||
|                 const tagsFilter = Array.from(appliedFilters.values()); | ||||
|                 for (const filter of tagsFilter ?? []) { | ||||
|                     const neededTags : TagsFilter = filter?.currentFilter | ||||
|                     if (neededTags !== undefined && !neededTags.matchesProperties(f.feature.properties)) { | ||||
|  | @ -90,6 +92,7 @@ export default class FilteringFeatureSource implements FeatureSourceForLayer, Ti | |||
|                         return false; | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             includedFeatureIds.add(f.feature.properties.id) | ||||
|             return true; | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ import {Utils} from "../Utils"; | |||
| 
 | ||||
| export default class Constants { | ||||
| 
 | ||||
|     public static vNumber = "0.14.1"; | ||||
|     public static vNumber = "0.14.2"; | ||||
|     public static ImgurApiKey = '7070e7167f0a25a' | ||||
|     public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85" | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue