FIX: mods should be able to grant badges in post wrench (#5522)

This commit is contained in:
Kyle Zhao 2018-01-24 21:52:05 -05:00 committed by Sam
parent dc97239040
commit afaf9fd54c
1 changed files with 2 additions and 0 deletions

View File

@ -64,7 +64,9 @@ export function buildManageButtons(attrs, currentUser) {
action: 'changePostOwner', action: 'changePostOwner',
className: 'change-owner' className: 'change-owner'
}); });
}
if (currentUser.staff) {
contents.push({ contents.push({
icon: 'certificate', icon: 'certificate',
label: 'post.controls.grant_badge', label: 'post.controls.grant_badge',