FIX: Admin wrench should be visible to leaders too

This commit is contained in:
Robin Ward 2016-06-06 12:31:52 -04:00
parent 11e303e278
commit 1e2bad135f
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}