File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed
portals/admin/src/main/webapp/source/src/app/components/KeyManagers Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,6 @@ export default function Certificates(props) {
118118 </ RadioGroup >
119119 </ FormControl >
120120 ) }
121- { console . log ( 'type : ' , type ) }
122121 { type === 'JWKS' && (
123122 < TextField
124123 id = 'jwks-url'
Original file line number Diff line number Diff line change @@ -262,6 +262,11 @@ export default function KeyManagerConfiguration(props) {
262262 const hasChildren = Array . isArray ( option . values ) && option . values . length > 0 ;
263263 return (
264264 < Box key = { option . name } ml = { 1 } mt = { 1 } >
265+ { option . tooltip && (
266+ < FormHelperText sx = { { mt : 0 , mb : 1 } } >
267+ { option . tooltip }
268+ </ FormHelperText >
269+ ) }
265270 < FormControlLabel
266271 value = { option . name }
267272 control = { < Radio /> }
@@ -287,17 +292,19 @@ export default function KeyManagerConfiguration(props) {
287292
288293 if ( type === 'certificate' ) {
289294 return (
290- < FormControl component = 'fieldset' error = { Boolean ( error ) } >
295+ < FormControl component = 'fieldset' error = { Boolean ( error ) } fullWidth sx = { { width : '100%' } } >
291296 < FormLabel component = 'legend' >
292297 { label }
293298 { required && < StyledSpan > *</ StyledSpan > }
294299 </ FormLabel >
295- < Certificates
296- fieldName = 'tenantWideCertificates'
297- tenantWideCertificates = { tenantWideCertificates }
298- dispatch = { dispatch }
299- isJwksNeeded = { false }
300- />
300+ < Box sx = { { width : '100%' } } >
301+ < Certificates
302+ fieldName = 'tenantWideCertificates'
303+ tenantWideCertificates = { tenantWideCertificates }
304+ dispatch = { dispatch }
305+ isJwksNeeded = { false }
306+ />
307+ </ Box >
301308 </ FormControl >
302309 ) ;
303310 }
You can’t perform that action at this time.
0 commit comments