FIX: Show topic admin menu if can_split_merge_topic (#28937)

Show the topic admin button is the `can_split_merge_topic` permission is present, without the user needing full `can_manage_topic` permissions.
This commit is contained in:
jbrw 2024-09-17 10:39:51 -04:00 committed by GitHub
parent 68a258ae7b
commit 0a4ae392d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ export default class TopicAdminMenu extends Component {
return (
this.currentUser?.canManageTopic ||
this.details?.can_archive_topic ||
this.details?.can_close_topic
this.details?.can_close_topic ||
this.details?.can_split_merge_topic
);
}