@@ -69,12 +69,12 @@ const ObservationBulkAssessment = ({ product, storeKey }: ObservationBulkAssessm
6969 local_comment = null ;
7070 }
7171 const assessment_data = {
72- severity : data . current_severity ,
73- status : data . current_status ,
72+ severity : data . severity ,
73+ status : data . status ,
7474 priority : data . priority ,
7575 comment : local_comment ,
76- vex_justification : justificationEnabled ? data . current_vex_justification : "" ,
77- vex_remediations : remediationsEnabled ? data . current_vex_remediations : "" ,
76+ vex_justification : justificationEnabled ? data . vex_justification : "" ,
77+ vex_remediations : remediationsEnabled ? data . vex_remediations : "" ,
7878 observations : selectedIds ,
7979 risk_acceptance_expiry_date : data . risk_acceptance_expiry_date ,
8080 } ;
@@ -121,7 +121,7 @@ const ObservationBulkAssessment = ({ product, storeKey }: ObservationBulkAssessm
121121 toolbar = { < ToolbarCancelSave onClick = { handleCancel } alwaysEnable = { true } /> }
122122 >
123123 < AutocompleteInputMedium
124- source = "current_severity "
124+ source = "severity "
125125 label = "Severity"
126126 choices = { OBSERVATION_SEVERITY_CHOICES }
127127 />
@@ -133,7 +133,7 @@ const ObservationBulkAssessment = ({ product, storeKey }: ObservationBulkAssessm
133133 />
134134 < NumberInput source = "priority" step = { 1 } min = { 1 } max = { 99 } sx = { { width : "7em" } } />
135135 { remediationsEnabled && (
136- < ArrayInput source = "current_vex_remediations " defaultValue = { "" } label = "VEX remediations" >
136+ < ArrayInput source = "vex_remediations " defaultValue = { "" } label = "VEX remediations" >
137137 < SimpleFormIterator disableReordering inline >
138138 < AutocompleteInputMedium
139139 source = "category"
0 commit comments