Skip to content

Commit

Permalink
Change alignment of MacIpMapping fields in Static Network Configurati…
Browse files Browse the repository at this point in the history
…on (#2633)
  • Loading branch information
ammont82 authored Jul 10, 2024
1 parent 85e4a93 commit ed3200b
Showing 1 changed file with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ export const MacIpMapping = ({

return (
<Grid className="mac-ip-mapping">
<GridItem span={6}>
<FieldArray
name={fieldName}
validateOnChange={false}
render={({ push, remove }) => (
<Grid hasGutter>
<FieldArray
name={fieldName}
validateOnChange={false}
render={({ push, remove }) => (
<Grid hasGutter>
<GridItem span={6}>
{macInterfaceMap.map((_, idx) => (
<MacMappingItem
key={getFormikArrayItemFieldName(fieldName, idx)}
Expand All @@ -90,12 +90,11 @@ export const MacIpMapping = ({
hostIdx={hostIdx}
/>
))}

{!isViewerMode && <AddMapping onPush={push} />}
</Grid>
)}
/>
</GridItem>
</GridItem>
<GridItem>{!isViewerMode && <AddMapping onPush={push} />}</GridItem>
</Grid>
)}
/>
</Grid>
);
};

0 comments on commit ed3200b

Please sign in to comment.