FIX: mods should be able to grant badges in post wrench (#5522)
This commit is contained in:
parent
dc97239040
commit
afaf9fd54c
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue