forked from MapComplete/MapComplete
		
	Fix loading layout from hash
This commit is contained in:
		
							parent
							
								
									2835fa4d0a
								
							
						
					
					
						commit
						105d93a4fe
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -221,7 +221,7 @@ export class InitUiElements {
 | 
				
			||||||
                hashFromLocalStorage.setData(hash);
 | 
					                hashFromLocalStorage.setData(hash);
 | 
				
			||||||
                dedicatedHashFromLocalStorage.setData(hash);
 | 
					                dedicatedHashFromLocalStorage.setData(hash);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            const layoutToUse = FromJSON.FromBase64(hash.substr(1));
 | 
					            const layoutToUse = FromJSON.FromBase64(hash);
 | 
				
			||||||
            userLayoutParam.setData(layoutToUse.id);
 | 
					            userLayoutParam.setData(layoutToUse.id);
 | 
				
			||||||
            return layoutToUse;
 | 
					            return layoutToUse;
 | 
				
			||||||
        } catch (e) {
 | 
					        } catch (e) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue