+
+
+ {$_("nearby-waypoint-found-text", {
+ values: {
+ name:
+ merge.existing.name ||
+ $_("waypoints", { values: { n: 1 } }),
+ },
+ })}
+
+
{
+ waypointMergeAction = item.value as "merge" | "create";
+ setWaypointMergePreference(
+ "action",
+ waypointMergeAction === "merge",
+ );
+ }}
+ >
+ {#if waypointMergeAction === "merge"}
+
+ {#if merge.incoming._photos?.length}
+
+ {/if}
+ {#if merge.incoming.name?.trim()}
+
+ {/if}
+ {#if merge.incoming.description?.trim()}
+
+ {/if}
+ {#if merge.incoming.icon &&
+ merge.incoming.icon !== merge.existing.icon}
+
+ {/if}
+
+ {/if}
+
+ {/if}
+ {/snippet}
+ {#snippet footer()}
+