From 3741dd6b59d53a326bc31c9ecfe9333eaea18ae3 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Fri, 20 Jul 2018 08:16:29 -0400 Subject: [PATCH] removes report logging (#6125) --- .../javascripts/admin/components/admin-report.js.es6 | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/assets/javascripts/admin/components/admin-report.js.es6 b/app/assets/javascripts/admin/components/admin-report.js.es6 index f24897b48af..7c77d56fbc2 100644 --- a/app/assets/javascripts/admin/components/admin-report.js.es6 +++ b/app/assets/javascripts/admin/components/admin-report.js.es6 @@ -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(