@@ -388,6 +388,12 @@ export function Component() {
388388 ] ?. client_id ;
389389 }
390390
391+ match = matchArray ( locations , [ 'prioritized_impacts' , NUM ] ) ;
392+ if ( isDefined ( match ) ) {
393+ const [ index ] = match ;
394+ return formValue ?. prioritized_impacts ?. [ index ! ] ?. client_id ;
395+ }
396+
391397 match = matchArray ( locations , [ 'prioritized_impact_images' , NUM ] ) ;
392398 if ( isDefined ( match ) ) {
393399 const [ index ] = match ;
@@ -404,6 +410,12 @@ export function Component() {
404410 ?. client_id ;
405411 }
406412
413+ match = matchArray ( locations , [ 'early_actions' , NUM ] ) ;
414+ if ( isDefined ( match ) ) {
415+ const [ index ] = match ;
416+ return formValue ?. early_actions ?. [ index ! ] ?. client_id ;
417+ }
418+
407419 match = matchArray ( locations , [
408420 'trigger_statement_source_of_information' ,
409421 NUM ,
@@ -786,13 +798,17 @@ export function Component() {
786798 navigate ( 'accountMyFormsEap' ) ;
787799 } ,
788800 onFailure : ( error ) => {
801+ const {
802+ value : { formErrors, messageForNotification } ,
803+ } = error ;
789804 alert . show (
790805 strings . submitFailedSuccess ,
791806 {
792807 variant : 'danger' ,
793- description : error . value . messageForNotification ,
808+ description : messageForNotification ,
794809 } ,
795810 ) ;
811+ processServerErrors ( formErrors , value ) ;
796812 } ,
797813 } ) ;
798814
0 commit comments