FIX: Admin wrench should be visible to leaders too
This commit is contained in:
parent
11e303e278
commit
1e2bad135f
|
@ -10,7 +10,7 @@ export default ContainerView.extend({
|
|||
|
||||
const topic = this.get('topic');
|
||||
|
||||
if (!mobileView && this.currentUser.get('staff')) {
|
||||
if (!mobileView && this.currentUser.get('canManageTopic')) {
|
||||
const viewArgs = { topic, delegated: this.get('topicDelegated'), openUpwards: true };
|
||||
this.attachViewWithArgs(viewArgs, 'topic-admin-menu-button');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue