Merge branch 'V2' into auto-rename

This commit is contained in:
ConnorYoh 2025-09-01 12:34:27 +01:00 committed by GitHub
commit 6b8b2a35de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -24,7 +24,6 @@ export default function Footer({
return (
<div style={{
height: 'var(--footer-height)',
zIndex: 999999,
backgroundColor: 'var(--mantine-color-gray-1)',
borderTop: '1px solid var(--mantine-color-gray-2)',
display: 'flex',

View File

@ -79,6 +79,11 @@ export const createFileFromResponse = (
targetExtension: string
): File => {
const originalName = originalFileName.split('.')[0];
if (targetExtension == 'pdfa') {
targetExtension = 'pdf';
}
const fallbackFilename = `${originalName}_converted.${targetExtension}`;
return createFileFromApiResponse(responseData, headers, fallbackFilename);