mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: method names incorrect (#8393)
This commit is contained in:
parent
2e9e557360
commit
2c335efd1e
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user