これは、カテゴリ情報を以下のコードから取得しているため、想定通りのはずです。
@discourseComputed("category")
categoryInfo(category) {
return this.site.categories.findBy("id", category.id);
},
私の知る限り、this.site.categories は現在のユーザーが閲覧できるカテゴリのみを返します。
これは、カテゴリ情報を以下のコードから取得しているため、想定通りのはずです。
@discourseComputed("category")
categoryInfo(category) {
return this.site.categories.findBy("id", category.id);
},
私の知る限り、this.site.categories は現在のユーザーが閲覧できるカテゴリのみを返します。