diff --git a/ui/src/dashboards/utils/tableGraph.ts b/ui/src/dashboards/utils/tableGraph.ts index 0bb82b1aab..290e21123a 100644 --- a/ui/src/dashboards/utils/tableGraph.ts +++ b/ui/src/dashboards/utils/tableGraph.ts @@ -96,7 +96,7 @@ const updateMaxWidths = ( const {widths: Widths} = maxColumnWidths const maxWidth = _.get(Widths, `${columnLabel}`, 0) - if (isTopRow || currentWidth > maxWidth) { + if ((isTopRow || currentWidth > maxWidth) && _.isString(columnLabel)) { acc.widths[columnLabel] = currentWidth acc.totalWidths += currentWidth - maxWidth }