From e560ee841e71e3ff033012a70703f046e2ab6c39 Mon Sep 17 00:00:00 2001 From: samuelmbabhazi Date: Thu, 17 Oct 2024 11:41:53 +0200 Subject: [PATCH] [Fix] Switching Between Team and Employee in Approval Causes Selected Team/Employee to Be Lost --- .../approvals-mutation.component.html | 116 ++++-------------- .../approvals/approvals-mutation.component.ts | 20 ++- 2 files changed, 37 insertions(+), 99 deletions(-) diff --git a/packages/ui-core/shared/src/lib/approvals/approvals-mutation.component.html b/packages/ui-core/shared/src/lib/approvals/approvals-mutation.component.html index 2497b00450d..5661a37e2fd 100644 --- a/packages/ui-core/shared/src/lib/approvals/approvals-mutation.component.html +++ b/packages/ui-core/shared/src/lib/approvals/approvals-mutation.component.html @@ -1,8 +1,6 @@ - +
{{ (requestApproval @@ -13,37 +11,21 @@
-
+
@@ -52,10 +34,7 @@
[min]="0" formControlName="min_count" fullWidth - [placeholder]=" - 'APPROVAL_REQUEST_PAGE.APPROVAL_REQUEST_MIN_COUNT' - | translate - " + [placeholder]="'APPROVAL_REQUEST_PAGE.APPROVAL_REQUEST_MIN_COUNT' | translate" />
- + {{ approvalPolicy.name }} @@ -96,53 +64,23 @@
- - {{ 'APPROVAL_REQUEST_PAGE.EMPLOYEES' | translate }} - - {{ 'APPROVAL_REQUEST_PAGE.TEAMS' | translate }} - + + {{ 'APPROVAL_REQUEST_PAGE.EMPLOYEES' | translate }} + {{ 'APPROVAL_REQUEST_PAGE.TEAMS' | translate }}
-
+
- - - Employee picture - {{ employee.user.firstName }} - {{ employee.user.lastName }} - +
@@ -179,13 +113,7 @@
-