mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
FIX: moderators need to choose a category when uncategorized topics are no allowed
This commit is contained in:
parent
3ee1dee3eb
commit
976692b387
@ -201,7 +201,7 @@ const Composer = RestModel.extend({
|
||||
return this.get('canCategorize') &&
|
||||
!this.siteSettings.allow_uncategorized_topics &&
|
||||
!this.get('categoryId') &&
|
||||
!this.user.get('staff');
|
||||
!this.user.get('admin');
|
||||
}
|
||||
}.property('loading', 'canEditTitle', 'titleLength', 'targetUsernames', 'replyLength', 'categoryId', 'missingReplyCharacters'),
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user