Don't fail when an article has no BLOC_TEXTUEL
This commit is contained in:
parent
e0bffa4f3a
commit
c5537c1276
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
</svelte:element>
|
||||
{/if}
|
||||
|
||||
{@html article.BLOC_TEXTUEL.CONTENU}
|
||||
{@html article.BLOC_TEXTUEL?.CONTENU}
|
||||
|
||||
{#if ciblesCreation.length > 0}
|
||||
<ul>
|
||||
|
|
|
@ -151,7 +151,7 @@ export interface Article {
|
|||
VERSIONS: {
|
||||
VERSION: ArticleVersion | ArticleVersion[]
|
||||
}
|
||||
BLOC_TEXTUEL: {
|
||||
BLOC_TEXTUEL?: {
|
||||
CONTENU: string // HTML
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue