mirror of
https://github.com/discourse/discourse.git
synced 2025-03-27 19:25:44 +08:00
Fix the build.
This commit is contained in:
parent
15bcfcd182
commit
6771df128e
@ -13,9 +13,11 @@ export default Ember.Controller.extend({
|
|||||||
types(typeFilters) {
|
types(typeFilters) {
|
||||||
const types = [];
|
const types = [];
|
||||||
|
|
||||||
typeFilters.forEach(type => {
|
if (typeFilters) {
|
||||||
types.push({ id: type, name: I18n.t(`groups.index.${type}_groups`) });
|
typeFilters.forEach(type => {
|
||||||
});
|
types.push({ id: type, name: I18n.t(`groups.index.${type}_groups`) });
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
return types;
|
return types;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user