feat: Suppression des champs auteur lorsqu'ils sont vides
This commit is contained in:
parent
89843f2353
commit
baf8c3f751
|
@ -52,6 +52,7 @@ const config = {
|
|||
if (!article.image_credit) delete article.image_credit
|
||||
if (!article.vignette) delete article.vignette
|
||||
if (!article.vignette_credit) delete article.vignette_credit
|
||||
if (!article.auteur) delete article.auteur
|
||||
|
||||
if (!article.authors || article.authors.length == 0) {
|
||||
delete article.authors
|
||||
|
|
Loading…
Reference in New Issue