]> git.openstreetmap.org Git - nominatim-ui.git/commitdiff
boolean parameters must be handled as code in parameters
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 22 Apr 2022 20:23:08 +0000 (22:23 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 22 Apr 2022 20:34:15 +0000 (22:34 +0200)
src/pages/DetailsPage.svelte

index 18b15925a15535477d0a33cc5342f1c7ad35843d..12d19d8af15853761de5894fc59a9f576b329893 100644 (file)
           <tbody>
             {#if aPlace.address}
               {#each aPlace.address as addressLine}
-                <DetailsOneRow addressLine={addressLine} bMarkUnusedLines=true bDistanceInMeters=false />
+                <DetailsOneRow addressLine={addressLine} bMarkUnusedLines={true} bDistanceInMeters={false} />
               {/each}
             {/if}
 
             {#if aPlace.linked_places}
               <tr class="all-columns"><td colspan="7"><h2>Linked Places</h2></td></tr>
               {#each aPlace.linked_places as addressLine}
-                <DetailsOneRow addressLine={addressLine} bMarkUnusedLines=true bDistanceInMeters=true />
+                <DetailsOneRow addressLine={addressLine} bMarkUnusedLines={true} bDistanceInMeters={true} />
               {/each}
             {/if}
 
                 {#each Object.keys(aPlace.hierarchy) as type}
                   <tr class="all-columns"><td colspan="7"><h3>{type}</h3></td></tr>
                   {#each aPlace.hierarchy[type] as line}
-                    <DetailsOneRow addressLine={line} bDistanceInMeters=true />
+                    <DetailsOneRow addressLine={line} bDistanceInMeters={true} />
                  {/each}
                 {/each}