Comment out category notification button, it is breaking qunit

This commit is contained in:
Sam 2014-05-30 14:32:44 +10:00
parent fa6f22dd39
commit 53c96395a7

View file

@ -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) {