From cb3e4af5a2513d5e1579a1fdafcaeb6d7ba690fc Mon Sep 17 00:00:00 2001 From: James Ward Date: Fri, 24 Apr 2026 15:56:58 -0400 Subject: [PATCH] fix(ui): drop hard coded author/cover image upload limits (#782) --- .../components/author-editor/author-editor.component.html | 1 - .../metadata-editor/metadata-editor.component.html | 2 -- 2 files changed, 3 deletions(-) diff --git a/frontend/src/app/features/author-browser/components/author-editor/author-editor.component.html b/frontend/src/app/features/author-browser/components/author-editor/author-editor.component.html index 4ea081c1b..18d66fc93 100644 --- a/frontend/src/app/features/author-browser/components/author-editor/author-editor.component.html +++ b/frontend/src/app/features/author-browser/components/author-editor/author-editor.component.html @@ -31,7 +31,6 @@ mode="basic" chooseIcon="pi pi-upload" accept="image/jpeg,image/png" - maxFileSize="5000000" (onUpload)="onUpload()" (onError)="onUploadError()" [auto]="true" diff --git a/frontend/src/app/features/metadata/component/book-metadata-center/metadata-editor/metadata-editor.component.html b/frontend/src/app/features/metadata/component/book-metadata-center/metadata-editor/metadata-editor.component.html index 6f536aff0..3d6789462 100644 --- a/frontend/src/app/features/metadata/component/book-metadata-center/metadata-editor/metadata-editor.component.html +++ b/frontend/src/app/features/metadata/component/book-metadata-center/metadata-editor/metadata-editor.component.html @@ -76,7 +76,6 @@ mode="basic" chooseIcon="pi pi-upload" accept="image/jpeg,image/png" - maxFileSize="5000000" (onUpload)="onUpload($event)" (onError)="onUploadError($event)" [auto]="true" @@ -156,7 +155,6 @@ mode="basic" chooseIcon="pi pi-upload" accept="image/jpeg,image/png" - maxFileSize="5000000" (onUpload)="onAudiobookCoverUpload($event)" (onError)="onUploadError($event)" [auto]="true"