forked from MapComplete/MapComplete
		
	UX: hide 'move this point' behind login wall
This commit is contained in:
		
							parent
							
								
									64372aa664
								
							
						
					
					
						commit
						0e0d4a9af5
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		|  | @ -18,6 +18,7 @@ | |||
|   import Geosearch from "../BigComponents/Geosearch.svelte" | ||||
|   import If from "../Base/If.svelte" | ||||
|   import Constants from "../../Models/Constants" | ||||
|   import LoginToggle from "../Base/LoginToggle.svelte" | ||||
| 
 | ||||
|   export let state: SpecialVisualizationState | ||||
| 
 | ||||
|  | @ -49,7 +50,7 @@ | |||
|   let notAllowed = moveWizardState.moveDisallowedReason | ||||
|   let currentMapProperties: MapProperties = undefined | ||||
| </script> | ||||
| 
 | ||||
| <LoginToggle {state}> | ||||
| {#if moveWizardState.reasons.length > 0} | ||||
|   {#if $notAllowed} | ||||
|     <div class="m-2 flex rounded-lg bg-gray-200 p-2"> | ||||
|  | @ -165,3 +166,4 @@ | |||
|     </div> | ||||
|   {/if} | ||||
| {/if} | ||||
| </LoginToggle> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue