diff --git a/packages/webapp/src/components/maps-page/action-dispatcher/export-dialog/index.tsx b/packages/webapp/src/components/maps-page/action-dispatcher/export-dialog/index.tsx index b1a8630b..250df1b9 100644 --- a/packages/webapp/src/components/maps-page/action-dispatcher/export-dialog/index.tsx +++ b/packages/webapp/src/components/maps-page/action-dispatcher/export-dialog/index.tsx @@ -6,7 +6,7 @@ import { FormControl, FormControlLabel, MenuItem, Radio, RadioGroup, Select } fr import { useStyles } from './style'; import { Alert } from "@material-ui/lab"; -type ExportFormat = 'pdf' | 'svg' | 'jpeg' | 'png' | 'txt' | 'mm' | 'wxml' | 'xls' | 'txt'; +type ExportFormat = 'pdf' | 'svg' | 'jpg' | 'png' | 'txt' | 'mm' | 'wxml' | 'xls' | 'txt'; type ExportGroup = 'image' | 'document' | 'mindmap-tool'; type ExportDialogProps = { @@ -61,7 +61,7 @@ const ExportDialog = (props: ExportDialogProps) => { useEffect(() => { if (submit) { // Depending on the type of export. It will require differt POST. - if (exportFormat == 'pdf' || exportFormat == "svg" || exportFormat == "jpeg" || exportFormat == "png") { + if (exportFormat == 'pdf' || exportFormat == "svg" || exportFormat == "jpg" || exportFormat == "png") { formTransformtRef.submit(); } else { @@ -105,7 +105,7 @@ const ExportDialog = (props: ExportDialogProps) => { Scalable Vector Graphics (SVG) Portable Document Format (PDF) Portable Network Graphics (PNG) - JPEG Image (JPEG) + JPEG Image (JPEG) ) }