From 37484566ebd9c87fa472cc510084dda4259e1130 Mon Sep 17 00:00:00 2001
From: Oscar Zhou <100548325+oscarzhou-portainer@users.noreply.github.com>
Date: Tue, 7 Mar 2023 10:27:40 +1300
Subject: [PATCH] fix(ui/wizard): edge agent ui issue [EE-5126] (#8598)
---
app/react/edge/components/edge-agent-async.svg | 2 +-
app/react/edge/components/edge-agent-standard.svg | 2 +-
.../portainer/environments/ItemView/EdgeKeyDisplay.tsx | 5 ++---
.../EnvironmentsCreationView/WizardDocker/WizardDocker.tsx | 6 ++----
4 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/app/react/edge/components/edge-agent-async.svg b/app/react/edge/components/edge-agent-async.svg
index fa1a0b9ee..5ac438b92 100644
--- a/app/react/edge/components/edge-agent-async.svg
+++ b/app/react/edge/components/edge-agent-async.svg
@@ -1,6 +1,6 @@
-
- {edgeKey}
-
+ {edgeKey}
Copy token
diff --git a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/WizardDocker.tsx b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/WizardDocker.tsx
index 181dc2885..90690ecc7 100644
--- a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/WizardDocker.tsx
+++ b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/WizardDocker.tsx
@@ -50,16 +50,14 @@ const defaultOptions: BoxSelectorOption<
},
{
id: 'edgeAgentStandard',
- icon: EdgeAgentStandardIcon,
- iconType: 'badge',
+ icon: ,
label: 'Edge Agent Standard',
description: '',
value: 'edgeAgentStandard',
},
isBE && {
id: 'edgeAgentAsync',
- icon: EdgeAgentAsyncIcon,
- iconType: 'badge',
+ icon: ,
label: 'Edge Agent Async',
description: '',
value: 'edgeAgentAsync',