mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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',
|
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'));
|
const title = I18n.t('filters.top.' + (TITLE_SUBS[period] || 'this_week'));
|
||||||
if (options.hash.showDateRange) {
|
if (options.hash.showDateRange) {
|
||||||
var dateString = "";
|
var dateString = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user