FIX: method names incorrect (#8393)

This commit is contained in:
Angus McLeod 2019-11-23 01:16:14 +11:00 committed by Joffrey JAFFEUX
parent 2e9e557360
commit 2c335efd1e
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ export default SelectKitFilterComponent.extend({
classNames: ["multi-select-filter"], classNames: ["multi-select-filter"],
@discourseComputed("placeholder", "hasSelection") @discourseComputed("placeholder", "hasSelection")
discourseComputedPlaceholder(placeholder, hasSelection) { computedPlaceholder(placeholder, hasSelection) {
if (hasSelection) return ""; if (hasSelection) return "";
return isEmpty(placeholder) ? "" : I18n.t(placeholder); return isEmpty(placeholder) ? "" : I18n.t(placeholder);
} }

View File

@ -11,7 +11,7 @@ export default Component.extend({
isHidden: not("shouldDisplayFilter"), isHidden: not("shouldDisplayFilter"),
@discourseComputed("placeholder") @discourseComputed("placeholder")
discourseComputedPlaceholder(placeholder) { computedPlaceholder(placeholder) {
return isEmpty(placeholder) ? "" : I18n.t(placeholder); return isEmpty(placeholder) ? "" : I18n.t(placeholder);
} }
}); });