mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 22:11:26 +08:00
DEV: Import set, setProperties, helper, and string functions (#8297)
This commit is contained in:

committed by
GitHub

parent
61b1f9c36b
commit
edc135d9c5
@ -1,3 +1,5 @@
|
||||
import Helper from "@ember/component/helper";
|
||||
|
||||
function postActionTitle([id, nameKey]) {
|
||||
let title = I18n.t(`admin.flags.short_names.${nameKey}`, {
|
||||
defaultValue: null
|
||||
@ -11,4 +13,4 @@ function postActionTitle([id, nameKey]) {
|
||||
return title;
|
||||
}
|
||||
|
||||
export default Ember.Helper.helper(postActionTitle);
|
||||
export default Helper.helper(postActionTitle);
|
||||
|
Reference in New Issue
Block a user