diff --git a/src/lib/components/SectionTaView.svelte b/src/lib/components/SectionTaView.svelte index b95d060..20aca86 100644 --- a/src/lib/components/SectionTaView.svelte +++ b/src/lib/components/SectionTaView.svelte @@ -4,7 +4,7 @@ import type { Aggregate } from "$lib/aggregates" import ArticleView from "$lib/components/ArticleView.svelte" - import type { SectionTa } from "$lib/legal" + import { pathnameFromLegalId, type SectionTa } from "$lib/legal" import { summarizeLegalObject } from "$lib/summaries" export let data: Aggregate @@ -35,7 +35,12 @@ diff --git a/src/lib/components/TextelrView.svelte b/src/lib/components/TextelrView.svelte index 53773e3..389dd10 100644 --- a/src/lib/components/TextelrView.svelte +++ b/src/lib/components/TextelrView.svelte @@ -4,7 +4,7 @@ import type { Aggregate } from "$lib/aggregates" import ArticleView from "$lib/components/ArticleView.svelte" import SectionTaView from "$lib/components/SectionTaView.svelte" - import type { Textelr } from "$lib/legal" + import { pathnameFromLegalId, type Textelr } from "$lib/legal" export let data: Aggregate export let level = 1 @@ -23,7 +23,12 @@ diff --git a/src/routes/textes/[id]/+page.svelte b/src/routes/textes/[id]/+page.svelte index e50fd85..c5a6f30 100644 --- a/src/routes/textes/[id]/+page.svelte +++ b/src/routes/textes/[id]/+page.svelte @@ -1,6 +1,9 @@