forked from MapComplete/MapComplete
		
	Chore: remove obsolete logging statements
This commit is contained in:
		
							parent
							
								
									c68bce2421
								
							
						
					
					
						commit
						f706fa7b5e
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -177,7 +177,6 @@ export default class FeatureReviews {
 | 
			
		|||
        testmode?: Store<boolean>,
 | 
			
		||||
        loadingAllowed?: UIEventSource<boolean | null>
 | 
			
		||||
    ) {
 | 
			
		||||
        console.trace(">>> Creating FeatureReviews", options)
 | 
			
		||||
        this.loadingAllowed = loadingAllowed
 | 
			
		||||
        const centerLonLat = GeoOperations.centerpointCoordinates(feature)
 | 
			
		||||
        ;[this._lon, this._lat] = centerLonLat
 | 
			
		||||
| 
						 | 
				
			
			@ -217,12 +216,10 @@ export default class FeatureReviews {
 | 
			
		|||
        }
 | 
			
		||||
        this._name = tagsSource.map((tags) => {
 | 
			
		||||
            const defaultName = tags[nameKey]
 | 
			
		||||
            console.trace(">>>", options, defaultName)
 | 
			
		||||
            if (defaultName && defaultName !== "") {
 | 
			
		||||
                console.log("Using default name:", defaultName, "fallback:", options.fallbackName)
 | 
			
		||||
                return defaultName
 | 
			
		||||
            }
 | 
			
		||||
            console.trace("Using fallback name", options?.fallbackName, options)
 | 
			
		||||
            return options?.fallbackName
 | 
			
		||||
        })
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue