This commit is contained in:
seb
2026-10-17 23:32:21 +02:00
parent 0d11dd5014
commit b8f226bd39
5 changed files with 15 additions and 6 deletions

View File

@@ -741,6 +741,10 @@ class LieferungNeuPage extends PureComponent {
async handlePdfRescan(attachment) {
if (!attachment || this.state.pdfUploading) return;
const name = attachment.name || '';
if (name.toLowerCase().startsWith('wareneingang-') || attachment.meta?.type === 'delivery_pdf') {
return;
}
let targetAttachment = attachment;
if (!targetAttachment.file || targetAttachment.file.size === 0) {