forked from MapComplete/MapComplete
		
	Chore: linting errors
This commit is contained in:
		
							parent
							
								
									5544f95233
								
							
						
					
					
						commit
						26d8003289
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -23,7 +23,7 @@ export class UpdateLegacyLayer extends DesugaringStep< | ||||||
|             return json |             return json | ||||||
|         } |         } | ||||||
|         context = context.enter(json.id) |         context = context.enter(json.id) | ||||||
|         let config = { ...json } |         const config = { ...json } | ||||||
| 
 | 
 | ||||||
|         if (config["credits"] === "Not logged in") { |         if (config["credits"] === "Not logged in") { | ||||||
|             delete config["credits"] |             delete config["credits"] | ||||||
|  | @ -100,7 +100,7 @@ export class UpdateLegacyLayer extends DesugaringStep< | ||||||
|             config["mapRendering"] = [] |             config["mapRendering"] = [] | ||||||
|             // This is a legacy format, lets create a pointRendering
 |             // This is a legacy format, lets create a pointRendering
 | ||||||
|             let location: ("point" | "centroid")[] = ["point"] |             let location: ("point" | "centroid")[] = ["point"] | ||||||
|             let wayHandling: number = config["wayHandling"] ?? 0 |             const wayHandling: number = config["wayHandling"] ?? 0 | ||||||
|             if (wayHandling !== 0) { |             if (wayHandling !== 0) { | ||||||
|                 location = ["point", "centroid"] |                 location = ["point", "centroid"] | ||||||
|             } |             } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue