mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
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…
x
Reference in New Issue
Block a user