Skip to content

Commit

Permalink
fix(form): #MAG-510 remove section choice if edition
Browse files Browse the repository at this point in the history
  • Loading branch information
alicedraillard committed Dec 5, 2024
1 parent 70d9e3a commit 6237b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/create-magnet/CreateMagnet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export const CreateMagnet: FC = () => {
/>
</Box>
</FormControl>
{section && (
{section && isEditMagnet && (
<FormControlMUI variant="outlined" sx={formControlMUIStyle}>
<InputLabel id="input-section" shrink={true} sx={inputLabelStyle}>
{t("magneto.card.section")}
Expand Down

0 comments on commit 6237b14

Please sign in to comment.