forked from MapComplete/MapComplete
		
	More validation and fixes
This commit is contained in:
		
							parent
							
								
									f10e7f008f
								
							
						
					
					
						commit
						4766f8bbde
					
				
					 13 changed files with 192 additions and 207 deletions
				
			
		|  | @ -85,16 +85,12 @@ export default class MoreScreen extends UIElement { | |||
| 
 | ||||
|         const linkButton: UIElement[] = [] | ||||
| 
 | ||||
|         for (const k in AllKnownLayouts.allSets) { | ||||
|             const layout: LayoutConfig = AllKnownLayouts.allSets[k]; | ||||
|             if (k === personal.id) { | ||||
|         for (const layout of AllKnownLayouts.layoutsList) { | ||||
|             if (layout.id === personal.id) { | ||||
|                 if (State.state.osmConnection.userDetails.data.csCount < Constants.userJourney.personalLayoutUnlock) { | ||||
|                     continue; | ||||
|                 } | ||||
|             } | ||||
|             if (layout.id !== k) { | ||||
|                 continue; // This layout was added multiple time due to an uppercase
 | ||||
|             } | ||||
|             linkButton.push(this.createLinkButton(layout)); | ||||
|         } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue