fix(settings): EE-4959 Cannot turn on Edge Compute Features on CE (#8396)

pull/8415/head
cmeng 2 years ago committed by GitHub
parent 34298d96c5
commit 8663de580a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,9 +28,6 @@ export function EdgeComputeSettings({ settings, onSubmit }: Props) {
const initialValues: FormValues = {
EnableEdgeComputeFeatures: settings.EnableEdgeComputeFeatures,
EdgePortainerUrl: settings.EdgePortainerUrl,
Edge: {
TunnelServerAddress: settings.Edge.TunnelServerAddress,
},
EdgeAgentCheckinInterval: settings.EdgeAgentCheckinInterval,
EnforceEdgeID: settings.EnforceEdgeID,
};

@ -3,7 +3,4 @@ export interface FormValues {
EdgePortainerUrl: string;
EnforceEdgeID: boolean;
EdgeAgentCheckinInterval: number;
Edge: {
TunnelServerAddress: string;
};
}

Loading…
Cancel
Save