Skip to content

Commit b49873e

Browse files
authored
Fix mistake
1 parent c292ff4 commit b49873e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

javascripts/discourse/components/category-list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default class CategoryList extends Component {
66
constructor() {
77
super(...arguments);
88
this.blockTitle =
9-
this.args?.params?.title || I18n.t(themePrefix("top_contributors.heading"));
9+
this.args?.params?.title || I18n.t(themePrefix("category_list.heading"));
1010

1111
this.categoryList = this.args?.params?.id.split(",");
1212
if (!this.categoryList) {

javascripts/discourse/components/top-contributors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default class TopContributors extends Component {
1313
constructor() {
1414
super(...arguments);
1515
this.blockTitle =
16-
this.args?.params?.title || I18n.t(themePrefix("category_list.heading"));
16+
this.args?.params?.title || I18n.t(themePrefix("top_contributors.heading"));
1717

1818
ajax(this.requestURL).then((data) => {
1919
this.topContributors = data.directory_items?.slice(0, this.count);

0 commit comments

Comments
 (0)