mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 10:57:22 +08:00
FIX: prevents exception if report doest define filters (#7532)
This commit is contained in:
@ -68,8 +68,8 @@ export default Ember.Component.extend({
|
||||
this._reports = [];
|
||||
},
|
||||
|
||||
startDate: Ember.computed.alias("filters.startDate"),
|
||||
endDate: Ember.computed.alias("filters.endDate"),
|
||||
startDate: Ember.computed.reads("filters.startDate"),
|
||||
endDate: Ember.computed.reads("filters.endDate"),
|
||||
|
||||
didReceiveAttrs() {
|
||||
this._super(...arguments);
|
||||
|
Reference in New Issue
Block a user