From c5537c1276ed556c4b908e99c65356111158faa1 Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Sun, 1 Dec 2024 23:56:22 +0100 Subject: [PATCH] Don't fail when an article has no BLOC_TEXTUEL --- src/lib/components/ArticleView.svelte | 2 +- src/lib/legal/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/ArticleView.svelte b/src/lib/components/ArticleView.svelte index 91e8e57..a4a52e6 100644 --- a/src/lib/components/ArticleView.svelte +++ b/src/lib/components/ArticleView.svelte @@ -24,7 +24,7 @@ {/if} -{@html article.BLOC_TEXTUEL.CONTENU} +{@html article.BLOC_TEXTUEL?.CONTENU} {#if ciblesCreation.length > 0}