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() {
|
exportCsv() {
|
||||||
const customFilters = this.get("filters.customFilters");
|
const customFilters = this.get("filters.customFilters") || {};
|
||||||
|
|
||||||
exportEntity("report", {
|
exportEntity("report", {
|
||||||
name: this.get("model.type"),
|
name: this.get("model.type"),
|
||||||
|
|
Loading…
Reference in New Issue