From 3b05fdc566cae2cebc2e687d90abaf3cd3671b0c Mon Sep 17 00:00:00 2001 From: Martina Date: Sun, 13 Sep 2020 22:24:49 -0700 Subject: [PATCH] fix for table top row --- components/system/components/Table.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/system/components/Table.js b/components/system/components/Table.js index cbecf164..242a8d75 100644 --- a/components/system/components/Table.js +++ b/components/system/components/Table.js @@ -132,11 +132,7 @@ export class Table extends React.Component { {this.props.noLabel ? null : (
{data.columns.map((c, cIndex) => { - const text = c.hideLabel - ? "" - : Strings.isEmpty(c.name) - ? c.key - : c.name; + const text = c.hideLabel ? "" : c.name ? c.name : c.key; let localWidth = c.width ? c.width : width; let flexShrink = c.width && c.width !== "100%" ? "0" : null; if (cIndex === 0 && !c.width) {