forked from MapComplete/MapComplete
		
	Fix: don't show tags in filter view if not logged in
This commit is contained in:
		
							parent
							
								
									9239376851
								
							
						
					
					
						commit
						a07c79289b
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -28,9 +28,9 @@ | |||
|     (s) => | ||||
|       (s === "yes" && | ||||
|         state?.userRelatedState?.osmConnection?.userDetails?.data?.csCount >= | ||||
|           Constants.userJourney.tagsVisibleAt) || | ||||
|         Constants.userJourney.tagsVisibleAt) || | ||||
|       s === "always" || | ||||
|       s === "full" | ||||
|       s === "full", | ||||
|   ) | ||||
| 
 | ||||
|   /** | ||||
|  | @ -79,9 +79,11 @@ | |||
|             {#if filter.options.length === 1 && filter.options[0].fields.length === 0} | ||||
|               <Checkbox selected={getBooleanStateFor(filter)}> | ||||
|                 <Tr t={filter.options[0].question} /> | ||||
|                 {#if $showTags && filter.options[0].osmTags !== undefined} | ||||
|                 <span class="subtle"> | ||||
|                   {filter.options[0].osmTags.asHumanString()} | ||||
|                 </span> | ||||
|                 {/if} | ||||
|               </Checkbox> | ||||
|             {/if} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue