mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
refactor(edge-compute): remove toggle from settings (release) [EE-2686] (#6619)
This commit is contained in:
parent
6695d75468
commit
ee42e44246
1 changed files with 1 additions and 18 deletions
|
@ -118,7 +118,7 @@ export function SettingsEdgeCompute({ settings, onSubmit }: Props) {
|
|||
|
||||
<FormControl
|
||||
inputId="edge_enforce_id"
|
||||
label="Enforce environment ID"
|
||||
label="Enforce use of Portainer generated Edge ID’s"
|
||||
size="medium"
|
||||
errors={errors.EnforceEdgeID}
|
||||
>
|
||||
|
@ -133,23 +133,6 @@ export function SettingsEdgeCompute({ settings, onSubmit }: Props) {
|
|||
/>
|
||||
</FormControl>
|
||||
|
||||
<FormControl
|
||||
inputId="edge_tofc"
|
||||
label="Trust on first connect"
|
||||
size="medium"
|
||||
errors={errors.DisableTrustOnFirstConnect}
|
||||
>
|
||||
<Switch
|
||||
id="edge_disable_tofc"
|
||||
name="edge_disable_tofc"
|
||||
className="space-right"
|
||||
checked={!values.DisableTrustOnFirstConnect}
|
||||
onChange={(e) =>
|
||||
setFieldValue('DisableTrustOnFirstConnect', !e.valueOf())
|
||||
}
|
||||
/>
|
||||
</FormControl>
|
||||
|
||||
<div className="form-group">
|
||||
<div className="col-sm-12">
|
||||
<LoadingButton
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue