FIX: Accidentally comitted more than I wanted to
This commit is contained in:
parent
3d392670a7
commit
85e98eeb59
1 changed files with 1 additions and 1 deletions
|
@ -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 = "";
|
||||||
|
|
Reference in a new issue