File tree Expand file tree Collapse file tree
src/frontend/src/pages/ProjectDetailPage/ProjectViewContainer/BOM/MaterialForm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ const schema = yup.object().shape({
2929 linkUrl : yup . string ( ) . optional ( ) ,
3030 notes : yup . string ( ) . optional ( ) ,
3131 pdmFileName : yup . string ( ) . optional ( ) ,
32- assemblyId : yup . string ( ) . optional ( ) ,
33- reimbursementRequestId : yup . string ( ) . optional ( )
32+ assemblyId : yup . string ( ) . optional ( )
3433} ) ;
3534
3635export interface MaterialFormInput {
@@ -46,7 +45,6 @@ export interface MaterialFormInput {
4645 linkUrl ?: string ;
4746 notes ?: string ;
4847 assemblyId ?: string ;
49- reimbursementRequestId ?: string ;
5048}
5149
5250export interface MaterialDataSubmission {
@@ -103,8 +101,7 @@ const MaterialForm: React.FC<MaterialFormProps> = ({
103101 unitName : defaultValues ?. unitName ,
104102 linkUrl : defaultValues ?. linkUrl ?? '' ,
105103 notes : defaultValues ?. notes ,
106- assemblyId : defaultValues ?. assemblyId ,
107- reimbursementRequestId : defaultValues ?. reimbursementRequestId
104+ assemblyId : defaultValues ?. assemblyId
108105 } ,
109106 resolver : yupResolver ( schema )
110107 } ) ;
You can’t perform that action at this time.
0 commit comments