Skip to content

Commit

Permalink
MAN-146 - use commentText length rather than note when checking lengt…
Browse files Browse the repository at this point in the history
…h of text
  • Loading branch information
achimber-moj committed Oct 30, 2024
1 parent 32f8dfe commit ee39553
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fun EntityLicenceCondition.toLicenceConditionNote(truncateNote: Boolean): List<L
else -> commentText
},
when (truncateNote) {
true -> note.length > 1500
true -> commentText.length > 1500
else -> null
}
)
Expand Down

0 comments on commit ee39553

Please sign in to comment.