Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoGresse committed Jun 9, 2024
1 parent 60676ff commit 697a911
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/form/ImageTextFieldElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const ImageTextFieldElement = <TFieldValues extends FieldValues = FieldVa
onClick={async () => {
await triggerFileDownload(
fieldValue,
`OpenPlanner-session-${fileSuffix}.${fieldValueExtension}`
`OpenPlanner-${fileSuffix}.${fieldValueExtension}`
)
}}
edge="end">
Expand Down
2 changes: 1 addition & 1 deletion src/events/page/sessions/EventSessionForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export const EventSessionForm = ({ event, session, onSubmit }: EventSessionFormP
label="Teaser image url"
name="teaserImageUrl"
variant="filled"
fileSuffix={session?.title}
fileSuffix={'session-' + session?.title}
disabled={false}
/>
</Grid>
Expand Down

0 comments on commit 697a911

Please sign in to comment.