Skip to content

Commit 8541f32

Browse files
authored
FIREFLY-763: bug in symbol size (#1088)
1 parent 1e588ae commit 8541f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firefly/js/charts/dataTypes/FireflyGenericData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export function createChartTblRequest(chartId, traceNum, tablesource) {
105105
let sreq = cloneRequest(request, {
106106
startIdx: 0,
107107
pageSize: MAX_ROW,
108-
inclCols: Object.entries(mappings).filter(([k, v]) => !numberOrArrayProps.includes(k) || Number.isNaN(parseFloat(v))).map(([k, v]) => {
108+
inclCols: Object.entries(mappings).filter(([k, v]) => !(numberOrArrayProps.includes(k) && !isNaN(v))).map(([k, v]) => { // if field can be a number and is a number, then skip
109109
// we'd like expression columns to be named as the paths to trace data arrays, ex. data[0].x
110110
// otherwise use column names to preserve original column attributes (type, format, etc.)
111111
const asStr = colNames.includes(v) || colNames.includes(stripColumnNameQuotes(v)) ? '' :

0 commit comments

Comments
 (0)