From aa3f081bf3b02d189aff08d0e7a2a5d7b1fff87f Mon Sep 17 00:00:00 2001 From: German Martinez Date: Mon, 2 Dec 2024 10:30:47 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9Bfix(Section=202):=20re-adding=20con?= =?UTF-8?q?dition=20on=20submitter=20dropdown.=20P2-1177?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rd-theory-of-change/rd-theory-of-change.component.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/onecgiar-pr-client/src/app/pages/results/pages/result-detail/pages/rd-theory-of-change/rd-theory-of-change.component.html b/onecgiar-pr-client/src/app/pages/results/pages/result-detail/pages/rd-theory-of-change/rd-theory-of-change.component.html index 7a1c966a6..526acc119 100644 --- a/onecgiar-pr-client/src/app/pages/results/pages/result-detail/pages/rd-theory-of-change/rd-theory-of-change.component.html +++ b/onecgiar-pr-client/src/app/pages/results/pages/result-detail/pages/rd-theory-of-change/rd-theory-of-change.component.html @@ -19,7 +19,9 @@ placeholder="Select Initiative" description="Select an initiative or platform" [(ngModel)]="this.theoryOfChangeBody.changePrimaryInit" - [fieldDisabled]="true"> + [fieldDisabled]=" + !!(this.theoryOfChangeBody.contributing_and_primary_initiative?.length === 1 && this.theoryOfChangeBody?.result_toc_result?.initiative_id) + ">