FIX: initialize empty object if no custom filters are present

This commit is contained in:
Arpit Jalan 2019-05-01 10:27:19 +05:30
parent 539723f8ff
commit 002e1f560a
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ export default Ember.Component.extend({
},
exportCsv() {
const customFilters = this.get("filters.customFilters");
const customFilters = this.get("filters.customFilters") || {};
exportEntity("report", {
name: this.get("model.type"),