mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 06:02:47 +08:00
FIX: If you can manage a post you can wiki it
This commit is contained in:
parent
2ae06e6fd0
commit
5822c64bdc
|
@ -58,7 +58,7 @@ export function buildManageButtons(attrs, currentUser) {
|
|||
});
|
||||
}
|
||||
|
||||
if (attrs.canWiki) {
|
||||
if (attrs.canManage || attrs.canWiki) {
|
||||
if (attrs.wiki) {
|
||||
contents.push({
|
||||
action: 'toggleWiki',
|
||||
|
|
Loading…
Reference in New Issue
Block a user