diff --git a/app/assets/javascripts/discourse/app/lib/transform-post.js b/app/assets/javascripts/discourse/app/lib/transform-post.js index 19ec24ddbc7..2f8087795f4 100644 --- a/app/assets/javascripts/discourse/app/lib/transform-post.js +++ b/app/assets/javascripts/discourse/app/lib/transform-post.js @@ -119,7 +119,9 @@ export default function transformPost( postAtts.canManage = currentUser && currentUser.get("canManageTopic"); postAtts.canViewRawEmail = currentUser && (currentUser.id === post.user_id || currentUser.staff); - postAtts.canReplyAsNewTopic = details.can_reply_as_new_topic; + postAtts.canArchiveTopic = !!details.can_archive_topic; + postAtts.canCloseTopic = !!details.can_close_topic; + postAtts.canReplyAsNewTopic = !!details.can_reply_as_new_topic; postAtts.canReviewTopic = !!details.can_review_topic; postAtts.canPublishPage = !!details.can_publish_page && post.post_number === 1; diff --git a/app/assets/javascripts/discourse/app/templates/components/edit-category-settings.hbs b/app/assets/javascripts/discourse/app/templates/components/edit-category-settings.hbs index 5520c045a70..7bac2848034 100644 --- a/app/assets/javascripts/discourse/app/templates/components/edit-category-settings.hbs +++ b/app/assets/javascripts/discourse/app/templates/components/edit-category-settings.hbs @@ -81,7 +81,7 @@

{{i18n "category.settings_sections.moderation"}}

- {{#if siteSettings.enable_category_group_review}} + {{#if siteSettings.enable_category_group_moderation}}