FIX: prevents exception if report doest define filters (#7532)

This commit is contained in:
Joffrey JAFFEUX 2019-05-13 13:34:28 +02:00 committed by GitHub
parent 9a56df89f0
commit df18243827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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);