mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 00:35:50 +00:00
Show Edit buttons to staff on categories page again
This commit is contained in:
parent
234474af1b
commit
c9c68c2cb2
@ -25,7 +25,7 @@ Discourse.ListCategoriesController = Discourse.ObjectController.extend({
|
||||
}.property('categories.@each'),
|
||||
|
||||
canEdit: function() {
|
||||
Discourse.User.current('staff');
|
||||
return Discourse.User.current('staff');
|
||||
}.property(),
|
||||
|
||||
// clear a pinned topic
|
||||
|
Loading…
x
Reference in New Issue
Block a user