mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 14:35:48 +08:00
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))
|
||||
)[0];
|
||||
|
||||
if (!report) {
|
||||
console.log(
|
||||
"failed to find a report to render",
|
||||
`expected key: ${reportKey}`,
|
||||
`existing keys: ${filteredReports.map(f => f.report_key)}`
|
||||
);
|
||||
return;
|
||||
}
|
||||
if (!report) return;
|
||||
}
|
||||
|
||||
this._renderReport(
|
||||
|
|
Loading…
Reference in New Issue
Block a user