summaryrefslogtreecommitdiff
path: root/scraper/client/common/table.component.js
diff options
context:
space:
mode:
Diffstat (limited to 'scraper/client/common/table.component.js')
-rw-r--r--scraper/client/common/table.component.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scraper/client/common/table.component.js b/scraper/client/common/table.component.js
index f9be0669..96b62835 100644
--- a/scraper/client/common/table.component.js
+++ b/scraper/client/common/table.component.js
@@ -15,7 +15,7 @@ export function TableObject({ tag, object, order, summary }) {
let keys = Object.keys(object)
if (order) {
const grouped = keys.reduce((a, b) => {
- if (summary && !object[b].trim().length) {
+ if (summary && !(object[b].trim ? object[b].trim().length : object[b])) {
return a
}
const index = order.indexOf(b)