diff --git a/lib/importer/nunjucks/importer/macros/table_view.njk b/lib/importer/nunjucks/importer/macros/table_view.njk index c9028322..92692abd 100644 --- a/lib/importer/nunjucks/importer/macros/table_view.njk +++ b/lib/importer/nunjucks/importer/macros/table_view.njk @@ -27,7 +27,7 @@ Renders a table view using the provided parameters to determine what is being sh {% endif %} {% for rowObj in params.rows %} - diff --git a/lib/importer/src/functions.js b/lib/importer/src/functions.js index 1d814ced..865ba95f 100644 --- a/lib/importer/src/functions.js +++ b/lib/importer/src/functions.js @@ -244,11 +244,6 @@ const parseNumberFromString = (s) => { return parseInt(parsed[0]) } -const importerRowHasHeader = (rowObj) => { - return rowObj.row.some( (element) => element && element.error ) -} - - module.exports = { importerError, importerErrorMappingData, @@ -259,7 +254,6 @@ module.exports = { importerGetTableCaption, importerMappedData, importerHeaderRowDisplay, - importerRowHasHeader, data_sum, data_avg }