fix low level issues
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
import { formatDate, sportIcon, sportColor } from '../lib/format';
|
||||
|
||||
export let athlete: AthleteJson;
|
||||
export let base: string = '/';
|
||||
|
||||
// ── Distance label formatting ──────────────────────────────────────────────
|
||||
function distLabel(km: number): string {
|
||||
@@ -96,7 +97,7 @@
|
||||
return (athlete as any).records?.[sport]?.[key] ?? null;
|
||||
}
|
||||
|
||||
const activityUrl = (id: string) => `/activity/${id}/`;
|
||||
const activityUrl = (id: string) => `${base}activity/${id}/`;
|
||||
</script>
|
||||
|
||||
<!-- Sport tabs -->
|
||||
|
||||
Reference in New Issue
Block a user