removes report logging (#6125)
This commit is contained in:
parent
7d9c97d661
commit
3741dd6b59
|
@ -257,14 +257,7 @@ export default Ember.Component.extend({
|
||||||
filteredReports.filter(r => r.report_key.includes(reportKey))
|
filteredReports.filter(r => r.report_key.includes(reportKey))
|
||||||
)[0];
|
)[0];
|
||||||
|
|
||||||
if (!report) {
|
if (!report) return;
|
||||||
console.log(
|
|
||||||
"failed to find a report to render",
|
|
||||||
`expected key: ${reportKey}`,
|
|
||||||
`existing keys: ${filteredReports.map(f => f.report_key)}`
|
|
||||||
);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this._renderReport(
|
this._renderReport(
|
||||||
|
|
Loading…
Reference in New Issue