Release 202507061803

This commit is contained in:
pluja
2025-07-06 18:03:45 +00:00
parent 349c26a4df
commit 7a294cb0a1
11 changed files with 66 additions and 5 deletions

View File

@@ -35,6 +35,7 @@ type Props = {
name: true
description: true
createdAt: true
strictCommentingEnabled: true
}
}>
}
@@ -173,7 +174,12 @@ function makeReplySchema(comment: CommentWithRepliesPopulated): Comment {
comment: comments.map(makeReplySchema),
} as WithContext<DiscussionForumPosting>}
/>
<CommentReply serviceId={service.id} activeRatingComment={activeRatingComment} class="xs:mb-4 mb-2" />
<CommentReply
serviceId={service.id}
activeRatingComment={activeRatingComment}
strictCommentingEnabled={service.strictCommentingEnabled}
class="xs:mb-4 mb-2"
/>
<div class="mb-6 flex flex-wrap items-center justify-between gap-2">
<div class="flex items-center">
@@ -258,6 +264,7 @@ function makeReplySchema(comment: CommentWithRepliesPopulated): Comment {
showPending={params.showPending}
serviceSlug={service.slug}
itemReviewedId={itemReviewedId}
strictCommentingEnabled={service.strictCommentingEnabled}
/>
))
) : (