Add a ? in case no valueCount records came back - which, can happen for a join-field where there were no matching join records.

This commit is contained in:
2024-07-05 12:42:42 -05:00
parent 47fb7cc2e3
commit 45b6b42836

View File

@ -121,7 +121,7 @@ function ColumnStats({tableMetaData, fieldMetaData, fieldTableName, filter}: Pro
}
const valueCounts = [] as QRecord[];
for(let i = 0; i < result.values.valueCounts.length; i++)
for(let i = 0; i < result.values.valueCounts?.length; i++)
{
let valueRecord = new QRecord(result.values.valueCounts[i]);