File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
libs/core-ui/src/lib/util Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ function pushRowData(
180180 jointDataset : JointDataset ,
181181 row : { [ key : string ] : number }
182182) : void {
183- const categories = jointDataset . metaDict [ property ] . sortedCategoricalValues ;
183+ const categories = jointDataset . metaDict [ property ] ? .sortedCategoricalValues ;
184184 if ( jointDataset . metaDict [ property ] . isCategorical && categories ) {
185185 tableRow . push ( categories [ row [ property ] ] ) ;
186186 } else {
@@ -197,7 +197,8 @@ function pushMultilabelRowData(
197197 const values = [ ] ;
198198 for ( let i = 0 ; i < jointDataset . numLabels ; i ++ ) {
199199 const labelProp = property + i . toString ( ) ;
200- const categories = jointDataset . metaDict [ labelProp ] . sortedCategoricalValues ;
200+ const categories =
201+ jointDataset . metaDict [ labelProp ] ?. sortedCategoricalValues ;
201202 if ( jointDataset . metaDict [ labelProp ] . isCategorical && categories ) {
202203 const value = categories [ row [ labelProp ] ] ;
203204 if ( value ) {
You can’t perform that action at this time.
0 commit comments