speed chart, old logo revival, softer hillshade, peaks as side feature

This commit is contained in:
Vincent van der Wal
2026-07-22 11:49:17 +02:00
parent bca5154459
commit b288daf251
13 changed files with 314 additions and 94 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ export function recordAscent(
return result.changes > 0;
}
export function baggedPeaks(activityId: number, userId: number): (PeakRow & { climbed_at: string | null })[] {
export function reachedPeaks(activityId: number, userId: number): (PeakRow & { climbed_at: string | null })[] {
return db
.prepare(
`SELECT p.*, a.climbed_at FROM ascents a JOIN peaks p ON p.id = a.peak_id