From 2d36c94bb2da9ed9f6144bc06c8efc18ae83c0e4 Mon Sep 17 00:00:00 2001 From: Vasseur Pierre Date: Mon, 2 Sep 2024 14:19:44 +0200 Subject: [PATCH] fix length limit --- src/packages/modules-concepts/edition-creation/notes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/packages/modules-concepts/edition-creation/notes.js b/src/packages/modules-concepts/edition-creation/notes.js index b95b7473f..10591b362 100644 --- a/src/packages/modules-concepts/edition-creation/notes.js +++ b/src/packages/modules-concepts/edition-creation/notes.js @@ -70,7 +70,8 @@ const NotesEdition = ({ htmlIsEmpty(noteLg1) && disseminationStatus.includes('Public')) || (noteLg1Name === 'scopeNoteLg1' && - (htmlLength(noteLg1) > 100 || htmlLength(noteLg2) > 100)); + (htmlLength(noteLg1) > maxLength || + htmlLength(noteLg2) > maxLength)); const title = highlight ? (
{D1[rawTitle]}
) : (