diff --git a/client/app/services/query-result.js b/client/app/services/query-result.js index 9a2dc6de8..c7e1e0799 100644 --- a/client/app/services/query-result.js +++ b/client/app/services/query-result.js @@ -91,9 +91,8 @@ function QueryResultService($resource, $timeout, $q) { // on the column type set by the backend. This logic is prone to errors, // and better be removed. Kept for now, for backward compatability. each(this.query_result.data.rows, (row) => { - let newType = null; - each(row, (v, k) => { + let newType = null; if (isNumber(v)) { newType = 'float'; } else if (isString(v) && v.match(/^\d{4}-\d{2}-\d{2}T/)) {