mirror of
https://github.com/discourse/discourse.git
synced 2025-04-18 09:32:26 +08:00
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:
parent
68a258ae7b
commit
0a4ae392d9
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user