FIX: Don't show "bulk" icon on group-index for unauthorized users (#12166)

Closes https://meta.discourse.org/t/group-management-tools-show-up-for-all-users/179259/9

Includes:
* DEV: Add missing <tr>
This commit is contained in:
Jarek Radosz
2021-02-22 15:29:04 +01:00
committed by GitHub
parent 858436b17c
commit b693bf8ca0

View File

@ -23,8 +23,11 @@
{{#load-more selector=".group-members tr" action=(action "loadMore")}}
<table class="group-members">
<thead>
<tr>
<th class="bulk-select">
{{#if canManageGroup}}
{{flat-button class="bulk-select" icon="list" action=(action "toggleBulkSelect") title="topics.bulk.toggle"}}
{{/if}}
</th>
{{#if isBulk}}
<th class="bulk-select-buttons">
@ -46,6 +49,7 @@
}}
{{/if}}
</th>
</tr>
</thead>
<tbody>