mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 10:59:51 +08:00
FIX: Accidentally comitted more than I wanted to
This commit is contained in:
parent
3d392670a7
commit
85e98eeb59
|
@ -6,7 +6,7 @@ const TITLE_SUBS = {
|
|||
daily: 'today',
|
||||
};
|
||||
|
||||
export default Ember.Helper.helper(function (period, options) {
|
||||
export default Ember.Handlebars.makeBoundHelper(function (period, options) {
|
||||
const title = I18n.t('filters.top.' + (TITLE_SUBS[period] || 'this_week'));
|
||||
if (options.hash.showDateRange) {
|
||||
var dateString = "";
|
||||
|
|
Loading…
Reference in New Issue
Block a user