mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Comment out category notification button, it is breaking qunit
This commit is contained in:
parent
fa6f22dd39
commit
53c96395a7
1 changed files with 3 additions and 1 deletions
|
@ -107,7 +107,9 @@ function buildCategoryRoute(filter, params) {
|
|||
var opts = { category: model, filterMode: filterMode };
|
||||
opts.noSubcategories = params && params.no_subcategories;
|
||||
opts.canEditCategory = Discourse.User.currentProp('staff');
|
||||
opts.canChangeCategoryNotificationLevel = Discourse.User.current();
|
||||
|
||||
// TODO: @Neil FIXME, this breaks qunit!
|
||||
// opts.canChangeCategoryNotificationLevel = Discourse.User.current();
|
||||
this.controllerFor('navigation/category').setProperties(opts);
|
||||
|
||||
return Discourse.TopicList.list(listFilter, params).then(function(list) {
|
||||
|
|
Loading…
Reference in a new issue