File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
DrefOperationalUpdateForm Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " go-web-app " : patch
3+ ---
4+
5+ Fix DREF form to properly save major coordination mechanism [ #1928 ] ( https://github.com/IFRCGo/go-web-app/issues/1928 )
Original file line number Diff line number Diff line change @@ -605,6 +605,7 @@ const schema: DrefFormSchema = {
605605 national_authorities : { } ,
606606 un_or_other_actor : { } ,
607607 is_there_major_coordination_mechanism : { } ,
608+ major_coordination_mechanism : { } ,
608609 } ;
609610 if ( val ?. type_of_dref !== TYPE_ASSESSMENT ) {
610611 conditionalFields = {
Original file line number Diff line number Diff line change @@ -430,6 +430,7 @@ const schema: OpsUpdateFormSchema = {
430430 'national_authorities' ,
431431 'un_or_other_actor' ,
432432 'is_there_major_coordination_mechanism' ,
433+ 'major_coordination_mechanism' ,
433434 ] as const ;
434435 type ActionsDrefTypeRelatedFields = Pick <
435436 OpsUpdateFormSchemaFields ,
@@ -464,6 +465,7 @@ const schema: OpsUpdateFormSchema = {
464465 government_requested_assistance : { } ,
465466 national_authorities : { } ,
466467 is_there_major_coordination_mechanism : { } ,
468+ major_coordination_mechanism : { } ,
467469 un_or_other_actor : { } ,
468470 } ;
469471 if ( val ?. type_of_dref !== TYPE_ASSESSMENT ) {
You can’t perform that action at this time.
0 commit comments