forked from MapComplete/MapComplete
		
	Formatting
This commit is contained in:
		
							parent
							
								
									420f24f76f
								
							
						
					
					
						commit
						809c0a1ddf
					
				
					 3 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -98,7 +98,7 @@ export default class FilteringFeatureSource implements FeatureSourceForLayer, Ti
 | 
			
		|||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            for (const filter of (globalFilters ?? [])) {
 | 
			
		||||
            for (const filter of globalFilters ?? []) {
 | 
			
		||||
                const neededTags: TagsFilter = filter?.currentFilter
 | 
			
		||||
                if (
 | 
			
		||||
                    neededTags !== undefined &&
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -685,7 +685,7 @@ export default class TagRenderingConfig {
 | 
			
		|||
        if (this.condition !== undefined && !this.condition?.matchesProperties({})) {
 | 
			
		||||
            condition = new Combine([
 | 
			
		||||
                "This tagrendering is only visible in the popup if the following condition is met:",
 | 
			
		||||
                new FixedUiElement(this.condition.asHumanString(false, false, {})).SetClass("code")
 | 
			
		||||
                new FixedUiElement(this.condition.asHumanString(false, false, {})).SetClass("code"),
 | 
			
		||||
            ])
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -441,8 +441,8 @@ class ImportInspector extends VariableUiElement {
 | 
			
		|||
                }
 | 
			
		||||
                // We only care about the properties here
 | 
			
		||||
                let props: NoteProperties[] = notes["success"].features.map((f) => f.properties)
 | 
			
		||||
                if(userDetails["uid"]){
 | 
			
		||||
                    props = props.filter(n => n.comments[0].uid === userDetails["uid"])
 | 
			
		||||
                if (userDetails["uid"]) {
 | 
			
		||||
                    props = props.filter((n) => n.comments[0].uid === userDetails["uid"])
 | 
			
		||||
                }
 | 
			
		||||
                const perBatch: NoteState[][] = Array.from(
 | 
			
		||||
                    ImportInspector.SplitNotesIntoBatches(props).values()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue