FIX: i resolved that merge conflict badly. category notification settings dropdown was never showing.
This commit is contained in:
parent
12add6ea55
commit
d5b48c1ec2
|
@ -107,8 +107,8 @@ 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');
|
||||||
this.controllerFor('navigation/category').setProperties(opts);
|
|
||||||
opts.canChangeCategoryNotificationLevel = Discourse.User.current();
|
opts.canChangeCategoryNotificationLevel = Discourse.User.current();
|
||||||
|
this.controllerFor('navigation/category').setProperties(opts);
|
||||||
|
|
||||||
return Discourse.TopicList.list(listFilter, params).then(function(list) {
|
return Discourse.TopicList.list(listFilter, params).then(function(list) {
|
||||||
var tracking = Discourse.TopicTrackingState.current();
|
var tracking = Discourse.TopicTrackingState.current();
|
||||||
|
|
Loading…
Reference in New Issue