diff --git a/app/assets/javascripts/admin/models/report.js.es6 b/app/assets/javascripts/admin/models/report.js.es6 index 14e059297e6..4905bc8a99e 100644 --- a/app/assets/javascripts/admin/models/report.js.es6 +++ b/app/assets/javascripts/admin/models/report.js.es6 @@ -137,11 +137,11 @@ const Report = Discourse.Model.extend({ @computed('data') sortedData(data) { - return this.get('xaxisIsDate') ? data.toArray().reverse() : data.toArray(); + return this.get('xAxisIsDate') ? data.toArray().reverse() : data.toArray(); }, @computed('data') - xaxisIsDate() { + xAxisIsDate() { if (!this.data[0]) return false; return this.data && moment(this.data[0].x, 'YYYY-MM-DD').isValid(); }