File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/components/BrowserCell Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ export default class BrowserCell extends Component {
219219 this . copyableValue = content ;
220220 let classes = [ styles . cell , unselectable ] ;
221221 if ( hidden ) {
222- content = row < 0 && isRequired ? '(required)' : '(hidden)' ;
222+ content = row < 0 && isRequired && value === undefined ? '(required)' : '(hidden)' ;
223223 classes . push ( styles . empty ) ;
224224 } else if ( value === undefined ) {
225225 if ( type === 'ACL' ) {
@@ -228,8 +228,7 @@ export default class BrowserCell extends Component {
228228 this . copyableValue = content = '(undefined)' ;
229229 classes . push ( styles . empty ) ;
230230 }
231- content = row < 0 && isRequired ? '(required)' : content ;
232- row < 0 && classes . push ( styles . empty ) ;
231+ content = row < 0 && isRequired && value === undefined ? '(required)' : content ;
233232 } else if ( value === null ) {
234233 this . copyableValue = content = '(null)' ;
235234 classes . push ( styles . empty ) ;
You can’t perform that action at this time.
0 commit comments