File tree 1 file changed +4
-3
lines changed
src/ui-client/src/components/Attestation
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,13 @@ export default class CustomAttestationConfirmation extends React.PureComponent<P
33
33
const phiDisplay = isIdentified ? 'Identified' : 'Deidentified' ;
34
34
const showText = config && config . attestation . enabled ;
35
35
const useHtml = config . attestation . type && config . attestation . type === CustomAttestationType . Html ;
36
+ const skipModeSelection = config && config . attestation . skipModeSelection ;
36
37
37
38
return (
38
39
< div className = { confirmationClass } >
39
40
< div >
40
41
41
- { /* Else use custom text */ }
42
+ { /* use custom text */ }
42
43
{ useHtml &&
43
44
< div className = { `${ c } -custom-html` } dangerouslySetInnerHTML = { { __html : config . attestation . text . join ( "" ) } } > </ div >
44
45
}
@@ -59,14 +60,14 @@ export default class CustomAttestationConfirmation extends React.PureComponent<P
59
60
{useDisplay} - {phiDisplay}
60
61
</Col> */ }
61
62
{ ! ( isSubmittingAttestation || hasAttested ) &&
62
- < Col md = { config && config . attestation . skipModeSelection ? 12 : 6 } className = { `${ config && config . attestation . skipModeSelection ? "" : "right" } ` } >
63
+ < Col md = { skipModeSelection ? 12 : 6 } className = { `${ skipModeSelection ? "" : "right" } ` } >
63
64
< Button
64
65
onClick = { handleIAgreeClick }
65
66
tabIndex = { - 1 }
66
67
className = "leaf-button leaf-button-primary" >
67
68
Access the Data Exploration Tool
68
69
</ Button >
69
- { config && ! config . attestation . skipModeSelection &&
70
+ { ! skipModeSelection &&
70
71
< Button
71
72
onClick = { handleGoBackClick }
72
73
tabIndex = { - 1 }
You can’t perform that action at this time.
0 commit comments