forked from MapComplete/MapComplete
		
	Further work, add checkboxes as option
This commit is contained in:
		
							parent
							
								
									8bb9b1228b
								
							
						
					
					
						commit
						c944156d87
					
				
					 28 changed files with 364 additions and 149 deletions
				
			
		
							
								
								
									
										4
									
								
								State.ts
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								State.ts
									
										
									
									
									
								
							|  | @ -193,7 +193,7 @@ export class State { | |||
|                         continue; | ||||
|                     } | ||||
|                     try { | ||||
|                         const layout = FromJSON.FromBase64(customLayout.data); | ||||
|                         const layout = State.FromBase64(customLayout.data); | ||||
|                         if(layout.id === undefined){ | ||||
|                             // This is an old style theme
 | ||||
|                             // We remove it
 | ||||
|  | @ -252,4 +252,6 @@ export class State { | |||
|         } | ||||
| 
 | ||||
|     } | ||||
| 
 | ||||
|     public static FromBase64 : (data: string) => Layout = undefined; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue