FIX: correctly uses the name helper for selected content (#15610)
This commit is contained in:
parent
655f28ca5e
commit
307742e3aa
|
@ -26,7 +26,7 @@ export default SelectKitHeaderComponent.extend(UtilsMixin, {
|
|||
name: computed("selectedContent.name", function () {
|
||||
if (this.selectedContent) {
|
||||
return I18n.t("select_kit.filter_by", {
|
||||
name: this.selectedContent.name,
|
||||
name: this.getName(this.selectedContent),
|
||||
});
|
||||
} else {
|
||||
return I18n.t("select_kit.select_to_filter");
|
||||
|
|
Loading…
Reference in New Issue