Skip to content

Commit 488b652

Browse files
committed
Name in the road tooltip
1 parent fb4e947 commit 488b652

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web/src/edit/NeighbourhoodMode.svelte

+5-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,11 @@
209209
>
210210
<div slot="line-popup">
211211
<Popup openOn="hover" let:data
212-
><p>{notNull(data).properties.shortcuts} shortcuts</p></Popup
212+
><p>
213+
{notNull(data).properties.shortcuts} shortcuts through {notNull(
214+
data,
215+
).properties.name ?? "unnamed road"}
216+
</p></Popup
213217
>
214218
</div>
215219
</RenderNeighbourhood>

0 commit comments

Comments
 (0)