File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
apis/nucleus/src/components/selections Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ export default function OneField({
3636 } ;
3737
3838 const selection = field . selections [ stateIx ] ;
39+ const fieldLabel =
40+ selection . qDimensionReferences ?. find ( ( element ) => element . qLabel ) ?. qLabel ||
41+ selection . qReadableName ||
42+ selection . qField ;
3943 if ( typeof selection . qTotal === 'undefined' ) {
4044 selection . qTotal = 0 ;
4145 }
@@ -83,7 +87,7 @@ export default function OneField({
8387 Header = (
8488 < Grid item xs style = { { minWidth : 0 , flexGrow : 1 , opacity : selection . qLocked ? '0.3' : '' } } >
8589 < Typography noWrap style = { { fontSize : '12px' , lineHeight : '16px' , fontWeight : 600 } } >
86- { selection . qField }
90+ { fieldLabel }
8791 </ Typography >
8892 < Typography noWrap style = { { fontSize : '12px' , opacity : 0.55 , lineHeight : '16px' } } >
8993 { label }
You can’t perform that action at this time.
0 commit comments