mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -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 };
|
var opts = { category: model, filterMode: filterMode };
|
||||||
opts.noSubcategories = params && params.no_subcategories;
|
opts.noSubcategories = params && params.no_subcategories;
|
||||||
opts.canEditCategory = Discourse.User.currentProp('staff');
|
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);
|
this.controllerFor('navigation/category').setProperties(opts);
|
||||||
|
|
||||||
return Discourse.TopicList.list(listFilter, params).then(function(list) {
|
return Discourse.TopicList.list(listFilter, params).then(function(list) {
|
||||||
|
|
Loading…
Reference in a new issue