From d09cbbb709899b86de46c5a76c5eebe1bf9c257d Mon Sep 17 00:00:00 2001 From: "florian.azizian" <florian.azizian@maarch.org> Date: Thu, 27 Feb 2020 12:31:40 +0100 Subject: [PATCH] FIX #13311 TIME 0:30 wrong subject for acknowledgement receipt --- .../sent-resource-page/sent-resource-page.component.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontend/app/sentResource/sent-resource-page/sent-resource-page.component.ts b/src/frontend/app/sentResource/sent-resource-page/sent-resource-page.component.ts index df53325e9ba..cb3193dcc96 100644 --- a/src/frontend/app/sentResource/sent-resource-page/sent-resource-page.component.ts +++ b/src/frontend/app/sentResource/sent-resource-page/sent-resource-page.component.ts @@ -378,8 +378,6 @@ export class SentResourcePageComponent implements OnInit { email: !this.functions.empty(data.acknowledgementReceipt.contact.email) ? data.acknowledgementReceipt.contact.email : this.lang.contactDeleted }]; - this.emailsubject = this.lang.shipping; - this.emailStatus = 'SENT'; }), exhaustMap(() => this.http.get(`../../rest/acknowledgementReceipts/${emailId}/content`)), @@ -387,9 +385,10 @@ export class SentResourcePageComponent implements OnInit { this.pdfMode = data.format === 'pdf'; if (this.pdfMode) { + this.emailsubject = this.lang.ARPaper; this.emailContent = data.encodedDocument; - } else { + this.emailsubject = this.lang.ARelectronic; this.emailContent = atob(data.encodedDocument); } resolve(true); -- GitLab