File tree Expand file tree Collapse file tree 1 file changed +15
-18
lines changed
Expand file tree Collapse file tree 1 file changed +15
-18
lines changed Original file line number Diff line number Diff line change @@ -737,24 +737,21 @@ const AdvancedAccordion = ({
737737 it is deleted
738738 </ TipIcon >
739739 </ h2 >
740- < div className = "flex items-start gap-2.5" >
741- < Checkbox
742- id = "assignEphemeralIp"
743- checked = { assignEphemeralIp }
744- onChange = { ( ) => {
745- const newExternalIps = assignEphemeralIp
746- ? externalIps . field . value ?. filter ( ( ip ) => ip . type !== 'ephemeral' )
747- : [
748- ...( externalIps . field . value || [ ] ) ,
749- { type : 'ephemeral' , pool : selectedPool || defaultPool } ,
750- ]
751- externalIps . field . onChange ( newExternalIps )
752- } }
753- />
754- < label htmlFor = "assignEphemeralIp" className = "text-sans-md text-default" >
755- Allocate and attach an ephemeral IP address
756- </ label >
757- </ div >
740+ < Checkbox
741+ id = "assignEphemeralIp"
742+ checked = { assignEphemeralIp }
743+ onChange = { ( ) => {
744+ const newExternalIps = assignEphemeralIp
745+ ? externalIps . field . value ?. filter ( ( ip ) => ip . type !== 'ephemeral' )
746+ : [
747+ ...( externalIps . field . value || [ ] ) ,
748+ { type : 'ephemeral' , pool : selectedPool || defaultPool } ,
749+ ]
750+ externalIps . field . onChange ( newExternalIps )
751+ } }
752+ >
753+ Allocate and attach an ephemeral IP address
754+ </ Checkbox >
758755 { assignEphemeralIp && (
759756 < Listbox
760757 name = "pools"
You can’t perform that action at this time.
0 commit comments