add/fix: frontend and backend improves

This commit is contained in:
Domingo Dirutigliano
2023-09-25 18:10:12 +02:00
parent ab96b24cac
commit c0ea0eb331
11 changed files with 264 additions and 177 deletions

View File

@@ -18,6 +18,7 @@ export const ActionTypeSelector = (props:Omit<SegmentedControlProps, "data">) =>
label: 'Drop',
}
]}
size={props.size?props.size:"xs"}
{...props}
/>
)

View File

@@ -8,13 +8,14 @@ export const ModeSelector = (props:Omit<SegmentedControlProps, "data">) => (
data={[
{
value: RuleMode.IN,
label: 'IN',
label: 'Inbound',
},
{
value: RuleMode.OUT,
label: 'OUT',
label: 'Outbound',
}
]}
size={props.size?props.size:"xs"}
{...props}
/>
)

View File

@@ -18,6 +18,7 @@ export const ProtocolSelector = (props:Omit<SegmentedControlProps, "data">) => (
label: 'ANY',
}
]}
size={props.size?props.size:"xs"}
{...props}
/>
)