@@ -94,20 +94,23 @@ export const editRunEorReasons = (runDetailsModel) => {
9494 */
9595 runDetailsModel . runPatch . eorReasons . length > 0
9696 ? runDetailsModel . runPatch . eorReasons . map ( ( eorReason ) => {
97- const { reasonTypeId, description } = eorReason ;
97+ const { reasonTypeId, description, lastEditedName } = eorReason ;
9898 const { category = '-' , title } = eorReasonTypes . find ( ( eorReasonType ) => eorReasonType . id === reasonTypeId ) || { } ;
9999 const titleString = title ? ` - ${ title } ` : '' ;
100100 const descriptionString = description ? ` - ${ description } ` : '' ;
101101 return h (
102- '.flex-row.items-center ' ,
102+ '.flex-row.justify-between ' ,
103103 {
104104 key : `${ category } ${ titleString } ${ descriptionString } ` ,
105105 } ,
106106 [
107- h ( 'label.remove-eor-reason.danger.ph1.actionable-icon' , {
108- onclick : ( ) => runDetailsModel . runPatch . removeEorReason ( eorReason ) ,
109- } , iconTrash ( ) ) ,
110- h ( '.w-wrapped' , `${ category } ${ titleString } ${ descriptionString } ` ) ,
107+ h ( '.flex-row.items-center' , [
108+ h ( 'label.remove-eor-reason.danger.ph1.actionable-icon' , {
109+ onclick : ( ) => runDetailsModel . runPatch . removeEorReason ( eorReason ) ,
110+ } , iconTrash ( ) ) ,
111+ h ( '.w-wrapped' , `${ category } ${ titleString } ${ descriptionString } ` ) ,
112+ ] ) ,
113+ h ( '.w-wrapped' , lastEditedName || null ) ,
111114 ] ,
112115 ) ;
113116 } )
0 commit comments