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"
|
@icon="hourglass-start"
|
||||||
/>
|
/>
|
||||||
</dropdown.item>
|
</dropdown.item>
|
||||||
|
|
||||||
<dropdown.divider />
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if (or this.currentUser.staff this.extraButtons.length)}}
|
{{#if (or this.currentUser.staff this.extraButtons.length)}}
|
||||||
|
<dropdown.divider />
|
||||||
|
|
||||||
{{#if this.currentUser.staff}}
|
{{#if this.currentUser.staff}}
|
||||||
<dropdown.item class="topic-admin-moderation-history">
|
<dropdown.item class="topic-admin-moderation-history">
|
||||||
<DButton
|
<DButton
|
||||||
|
|
Loading…
Reference in New Issue