Skip to content

Commit

Permalink
Merge pull request #42731 from cretadn22/update-required-condition
Browse files Browse the repository at this point in the history
Updated required condition
  • Loading branch information
cristipaval authored May 31, 2024
2 parents 81fedce + bd3653e commit e4e2ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/EditReportFieldPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function EditReportFieldPage({route, policy, report}: EditReportFieldPageProps)
fieldName={Str.UCFirst(reportField.name)}
fieldKey={fieldKey}
fieldValue={fieldValue}
isRequired={!reportField.deletable}
isRequired={!isReportFieldDeletable}
onSubmit={handleReportFieldChange}
/>
)}
Expand Down

0 comments on commit e4e2ecf

Please sign in to comment.