From 9b99dfc7bc3d7a23afad0d5ac8b268a3e7b75f86 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Fri, 24 Jun 2022 20:23:40 +0200
Subject: [PATCH] OZG-1513 OZG-2594 remove SEND_POSTFACH_MAIL from client

---
 goofy-client/libs/postfach-shared/src/lib/postfach.model.ts | 2 --
 goofy-client/libs/vorgang-shared/src/lib/vorgang.service.ts | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/goofy-client/libs/postfach-shared/src/lib/postfach.model.ts b/goofy-client/libs/postfach-shared/src/lib/postfach.model.ts
index 3fc1d37b3c..16b14da973 100644
--- a/goofy-client/libs/postfach-shared/src/lib/postfach.model.ts
+++ b/goofy-client/libs/postfach-shared/src/lib/postfach.model.ts
@@ -27,8 +27,6 @@ export enum ReplyOption {
 }
 
 export enum PostfachOrder {
-	//@Deprecated
-	SEND_POSTFACH_MAIL = 'SEND_POSTFACH_MAIL',
 	SEND_POSTFACH_NACHRICHT = 'SEND_POSTFACH_NACHRICHT',
 	RESEND_POSTFACH_MAIL = 'RESEND_POSTFACH_MAIL'
 }
diff --git a/goofy-client/libs/vorgang-shared/src/lib/vorgang.service.ts b/goofy-client/libs/vorgang-shared/src/lib/vorgang.service.ts
index 442980464e..05b8cef25a 100644
--- a/goofy-client/libs/vorgang-shared/src/lib/vorgang.service.ts
+++ b/goofy-client/libs/vorgang-shared/src/lib/vorgang.service.ts
@@ -95,7 +95,7 @@ export class VorgangService {
 
 	handlePendingSendPostfachMailCommand(pendingCommandList: CommandListResource): void {
 		if (!this.pendingSendPostfachMailCommand$.value.loaded) {
-			this.setPendingSendPostfachMailCommand(createStateResource(getPendingCommandByOrder(pendingCommandList, [PostfachOrder.SEND_POSTFACH_MAIL, PostfachOrder.SEND_POSTFACH_NACHRICHT])));
+			this.setPendingSendPostfachMailCommand(createStateResource(getPendingCommandByOrder(pendingCommandList, [PostfachOrder.SEND_POSTFACH_NACHRICHT])));
 		}
 	}
 
-- 
GitLab