Skip to content

Commit

Permalink
🐛fix(Section 2): re-adding condition on submitter dropdown. P2-1177
Browse files Browse the repository at this point in the history
  • Loading branch information
German Martinez committed Dec 2, 2024
1 parent b8a8c54 commit aa3f081
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
">
</app-pr-select>

<div
Expand Down

0 comments on commit aa3f081

Please sign in to comment.