FIX: Removes an error in the console in test mode

This commit is contained in:
Robin Ward 2020-07-31 14:06:40 -04:00
parent d266baff2b
commit 0b3f963804

View File

@ -234,6 +234,10 @@ export default Component.extend({
@action
refreshReport(options = {}) {
if (!this.attrs.onRefresh) {
return;
}
this.attrs.onRefresh({
type: this.get("model.type"),
chartGrouping: options.chartGrouping,