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>
|
</svelte:element>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{@html article.BLOC_TEXTUEL.CONTENU}
|
{@html article.BLOC_TEXTUEL?.CONTENU}
|
||||||
|
|
||||||
{#if ciblesCreation.length > 0}
|
{#if ciblesCreation.length > 0}
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -151,7 +151,7 @@ export interface Article {
|
||||||
VERSIONS: {
|
VERSIONS: {
|
||||||
VERSION: ArticleVersion | ArticleVersion[]
|
VERSION: ArticleVersion | ArticleVersion[]
|
||||||
}
|
}
|
||||||
BLOC_TEXTUEL: {
|
BLOC_TEXTUEL?: {
|
||||||
CONTENU: string // HTML
|
CONTENU: string // HTML
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue