mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(ingress): allow none controller type EE-4420 (#7883)
Co-authored-by: testA113 <alex.harris@portainer.io>
This commit is contained in:
parent
e48ceb15e9
commit
55211ef00e
23 changed files with 243 additions and 76 deletions
|
@ -1,5 +1,7 @@
|
|||
import { PropsWithChildren, useState } from 'react';
|
||||
|
||||
import { Icon } from '@@/Icon';
|
||||
|
||||
import { FormSectionTitle } from '../FormSectionTitle';
|
||||
|
||||
interface Props {
|
||||
|
@ -22,11 +24,12 @@ export function FormSection({
|
|||
id={`foldingButton${title}`}
|
||||
type="button"
|
||||
onClick={() => setIsExpanded(!isExpanded)}
|
||||
className="border-0 mx-2 bg-transparent inline-flex justify-center items-center w-2"
|
||||
className="border-0 mx-2 !ml-0 bg-transparent inline-flex justify-center items-center w-2"
|
||||
>
|
||||
<i
|
||||
className={`fa fa-caret-${isExpanded ? 'down' : 'right'}`}
|
||||
aria-hidden="true"
|
||||
<Icon
|
||||
icon={isExpanded ? 'chevron-down' : 'chevron-right'}
|
||||
className="shrink-0"
|
||||
feather
|
||||
/>
|
||||
</button>
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue