File tree 2 files changed +8
-2
lines changed
GuppyDataExplorer/ExplorerTable
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,13 @@ class ExplorerTable extends React.Component {
76
76
const nestedChildFieldName = fieldStringsArray . slice ( 1 , fieldStringsArray . length ) . join ( '.' ) ;
77
77
// some logic to handle depends on wether the child field in raw data is an array or not
78
78
if ( _ . isArray ( row . value ) ) {
79
- valueStr = row . value . map ( ( x ) => _ . get ( x , nestedChildFieldName ) ) . join ( ', ' ) ;
79
+ valueStr = row . value . map ( ( x ) => {
80
+ let val = _ . get ( x , nestedChildFieldName ) ;
81
+ // replace empty, null and undefined nested values with explicit "null" strings
82
+ // so that we can still display 1 value per nested row
83
+ if ( val == null || val === '' ) val = 'null' ;
84
+ return val ;
85
+ } ) . join ( ', ' ) ;
80
86
} else {
81
87
valueStr = _ . get ( row . value , nestedChildFieldName ) ;
82
88
}
Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ class Workspace extends React.Component {
323
323
this . checkWorkspaceStatus ( ) ;
324
324
break ;
325
325
default :
326
- message . error ( 'There is an error when trying to launch your workspace' ) ;
326
+ message . error ( 'There was an error when trying to launch your workspace' ) ;
327
327
this . setState ( {
328
328
workspaceID : null ,
329
329
workspaceLaunchStepsConfig : null ,
You can’t perform that action at this time.
0 commit comments