diff --git a/app/assets/javascripts/reports/reports_datatable.js b/app/assets/javascripts/reports/reports_datatable.js index f0f1ee1fa..3ca2e4214 100644 --- a/app/assets/javascripts/reports/reports_datatable.js +++ b/app/assets/javascripts/reports/reports_datatable.js @@ -89,7 +89,7 @@ ${I18n.t('projects.reports.index.docx')} `; } - return `${I18n.t('projects.reports.index.generate')}`; + return `${I18n.t('projects.reports.index.generate')}`; } function renderPdfFile(data) { @@ -192,7 +192,6 @@ function checkProcessingStatus(reportId) { let $row = $('#reports-table').find(`tr[data-id="${reportId}"]`); - if ($row.length === 0) return; $.getJSON($row.data('status-path'), (statusData) => { @@ -275,7 +274,6 @@ animateSpinner(null, false); HelperModule.flashAlertMsg(response.message, 'success'); checkProcessingStatus(row.data('id')); - reloadTable(); }); } }