From d4c2ad4a5743c31b7cd626161e0604a04ff59c21 Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Thu, 5 May 2022 10:02:34 +0300 Subject: [PATCH] fix(edge/aeec): add explanation about PORTAINER_EDGE_ID [EE-3056] (#6874) --- .../EdgeScriptForm/EdgePropertiesForm.tsx | 34 ++++++++++++------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/app/edge/components/EdgeScriptForm/EdgePropertiesForm.tsx b/app/edge/components/EdgeScriptForm/EdgePropertiesForm.tsx index a09eabe86..29fa16105 100644 --- a/app/edge/components/EdgeScriptForm/EdgePropertiesForm.tsx +++ b/app/edge/components/EdgeScriptForm/EdgePropertiesForm.tsx @@ -2,6 +2,7 @@ import { FormControl } from '@/portainer/components/form-components/FormControl' import { Input } from '@/portainer/components/form-components/Input'; import { FormSectionTitle } from '@/portainer/components/form-components/FormSectionTitle'; import { SwitchField } from '@/portainer/components/form-components/SwitchField'; +import { TextTip } from '@/portainer/components/Tip/TextTip'; import { OsSelector } from './OsSelector'; import { EdgeProperties } from './types'; @@ -27,19 +28,26 @@ export function EdgePropertiesForm({ /> {!hideIdGetter && ( - - setFieldValue(e.target.name, e.target.value)} - /> - + <> + + setFieldValue(e.target.name, e.target.value)} + /> + + + + PORTAINER_EDGE_ID environment variable is required to + successfully connect the edge agent to Portainer + + )}