Skip to content

Commit 9faf580

Browse files
committed
fix: show existing comments when commenting is not ongoing
Render the comment section when comments already exist, even if section.commenting is none. This keeps old comments visible. Refs KER-601
1 parent 598e3cd commit 9faf580

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/SortableCommentList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ const SortableCommentListComponent = ({
414414

415415
return (
416416
<div>
417-
{section.commenting !== 'none' && (
417+
{(section.commenting !== 'none' || showCommentList) && (
418418
<div className='sortable-comment-list'>
419419
{closed && section.questions.length >= 1 && (
420420
<div

0 commit comments

Comments
 (0)