mirror of
https://github.com/portainer/portainer.git
synced 2025-08-09 07:45:22 +02:00
fix(ui/wizard): edge agent ui issue [EE-5126] (#8598)
This commit is contained in:
parent
70710cfeb7
commit
37484566eb
4 changed files with 6 additions and 9 deletions
|
@ -1,6 +1,7 @@
|
|||
import { CopyButton } from '@@/buttons';
|
||||
import { FormSection } from '@@/form-components/FormSection';
|
||||
import { TextTip } from '@@/Tip/TextTip';
|
||||
import { Code } from '@@/Code';
|
||||
|
||||
export function EdgeKeyDisplay({ edgeKey }: { edgeKey: string }) {
|
||||
return (
|
||||
|
@ -15,9 +16,7 @@ export function EdgeKeyDisplay({ edgeKey }: { edgeKey: string }) {
|
|||
<a href="https://downloads.portainer.io/edge_agent_guide.pdf">here.</a>
|
||||
</p>
|
||||
|
||||
<div className="mt-2 break-words">
|
||||
<code>{edgeKey}</code>
|
||||
</div>
|
||||
<Code>{edgeKey}</Code>
|
||||
|
||||
<CopyButton copyText={edgeKey}>Copy token</CopyButton>
|
||||
</FormSection>
|
||||
|
|
|
@ -50,16 +50,14 @@ const defaultOptions: BoxSelectorOption<
|
|||
},
|
||||
{
|
||||
id: 'edgeAgentStandard',
|
||||
icon: EdgeAgentStandardIcon,
|
||||
iconType: 'badge',
|
||||
icon: <BadgeIcon icon={EdgeAgentStandardIcon} size="3xl" />,
|
||||
label: 'Edge Agent Standard',
|
||||
description: '',
|
||||
value: 'edgeAgentStandard',
|
||||
},
|
||||
isBE && {
|
||||
id: 'edgeAgentAsync',
|
||||
icon: EdgeAgentAsyncIcon,
|
||||
iconType: 'badge',
|
||||
icon: <BadgeIcon icon={EdgeAgentAsyncIcon} size="3xl" />,
|
||||
label: 'Edge Agent Async',
|
||||
description: '',
|
||||
value: 'edgeAgentAsync',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue