mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 11:02:46 +08:00
FIX: incorrect divider in topic admin menu (#26934)
Adds a divider only if we are staff or have extra buttons.
This commit is contained in:
parent
0f4520867b
commit
7896d00a7a
|
@ -281,11 +281,11 @@ export default class TopicAdminMenu extends Component {
|
|||
@icon="hourglass-start"
|
||||
/>
|
||||
</dropdown.item>
|
||||
|
||||
<dropdown.divider />
|
||||
{{/if}}
|
||||
|
||||
{{#if (or this.currentUser.staff this.extraButtons.length)}}
|
||||
<dropdown.divider />
|
||||
|
||||
{{#if this.currentUser.staff}}
|
||||
<dropdown.item class="topic-admin-moderation-history">
|
||||
<DButton
|
||||
|
|
Loading…
Reference in New Issue
Block a user