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 {
219
219
this . copyableValue = content ;
220
220
let classes = [ styles . cell , unselectable ] ;
221
221
if ( hidden ) {
222
- content = row < 0 && isRequired ? '(required)' : '(hidden)' ;
222
+ content = row < 0 && isRequired && value === undefined ? '(required)' : '(hidden)' ;
223
223
classes . push ( styles . empty ) ;
224
224
} else if ( value === undefined ) {
225
225
if ( type === 'ACL' ) {
@@ -228,8 +228,7 @@ export default class BrowserCell extends Component {
228
228
this . copyableValue = content = '(undefined)' ;
229
229
classes . push ( styles . empty ) ;
230
230
}
231
- content = row < 0 && isRequired ? '(required)' : content ;
232
- row < 0 && classes . push ( styles . empty ) ;
231
+ content = row < 0 && isRequired && value === undefined ? '(required)' : content ;
233
232
} else if ( value === null ) {
234
233
this . copyableValue = content = '(null)' ;
235
234
classes . push ( styles . empty ) ;
You can’t perform that action at this time.
0 commit comments