File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ interface Answer2DTO {
44 answerB3 : string
55 answerB4 : string
66 answerB5 : string
7- answerB6 : string
8- answerB7 : string
97}
108
119export default Answer2DTO
Original file line number Diff line number Diff line change @@ -41,9 +41,7 @@ function mapApplicationToAnswer2(application: ApplicationDTO): Answer2Model {
4141 answer2 : application . answerB2 || "" ,
4242 answer3 : application . answerB3 || "" ,
4343 answer4 : application . answerB4 || "" ,
44- answer5 : application . answerB5 || "" ,
45- answer6 : application . answerB6 || "" ,
46- answer7 : application . answerB7 || ""
44+ answer5 : application . answerB5 || ""
4745 }
4846 }
4947}
Original file line number Diff line number Diff line change @@ -8,9 +8,7 @@ const Answer2Schema = object()
88 answer2 : string ( ) . trim ( ) . required ( "กรุณากรอกคำตอบ" ) ,
99 answer3 : string ( ) . trim ( ) . required ( "กรุณากรอกคำตอบ" ) ,
1010 answer4 : string ( ) . trim ( ) . required ( "กรุณากรอกคำตอบ" ) ,
11- answer5 : string ( ) . trim ( ) . required ( "กรุณากรอกคำตอบ" ) ,
12- answer6 : string ( ) . trim ( ) . required ( "กรุณากรอกคำตอบ" ) ,
13- answer7 : string ( ) . trim ( ) . required ( "กรุณากรอกคำตอบ" )
11+ answer5 : string ( ) . trim ( ) . required ( "กรุณากรอกคำตอบ" )
1412 } ) . required ( )
1513 } )
1614 . defined ( )
Original file line number Diff line number Diff line change @@ -80,8 +80,6 @@ export const convertAnswer2SchemaToAnswer2DTO = (props: Answer2Model): Answer2DT
8080 answerB2 : props . secondPart . answer2 ,
8181 answerB3 : props . secondPart . answer3 ,
8282 answerB4 : props . secondPart . answer4 ,
83- answerB5 : props . secondPart . answer5 ,
84- answerB6 : props . secondPart . answer6 ,
85- answerB7 : props . secondPart . answer7
83+ answerB5 : props . secondPart . answer5
8684 }
8785}
You can’t perform that action at this time.
0 commit comments