FIX: initialize empty object if no custom filters are present
This commit is contained in:
parent
539723f8ff
commit
002e1f560a
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue