@@ -10,9 +10,6 @@ function TraineePerfomanceDetails() {
10
10
const organizationToken = localStorage . getItem ( 'orgToken' ) ;
11
11
const [ rows , setRows ] = useState ( {
12
12
user : '' ,
13
- bodyQuantity : '' ,
14
- bodyQuality : '' ,
15
- bodyProfessional : '' ,
16
13
id : '' ,
17
14
} ) ;
18
15
@@ -40,9 +37,6 @@ function TraineePerfomanceDetails() {
40
37
variables : {
41
38
user : ratings . user_id ,
42
39
sprint : ratings . user_sprint ,
43
- bodyQuantity : rows ?. bodyQuantity ,
44
- bodyQuality : rows ?. bodyQuality ,
45
- bodyProfessional : rows ?. bodyProfessional ,
46
40
orgToken : organizationToken ,
47
41
} ,
48
42
onError : ( ) => {
@@ -120,7 +114,7 @@ function TraineePerfomanceDetails() {
120
114
< td className = "py-10 px-10 text-left" > { t ( 'Quality' ) } </ td >
121
115
< td className = "py-3 " > { ratings . quality } </ td >
122
116
< td className = "py-3 text-start text-sm" >
123
- { ratings ?. quality_remark }
117
+ { ratings ?. general_remark }
124
118
</ td >
125
119
< td className = "py-3 " >
126
120
< Button
@@ -229,11 +223,9 @@ function TraineePerfomanceDetails() {
229
223
< div className = "m-4" >
230
224
< div className = " " >
231
225
< input
232
- value = { rows . bodyQuantity }
233
226
onChange = { ( e ) =>
234
227
setRows ( {
235
228
...rows ,
236
- bodyQuantity : e . target . value ,
237
229
} )
238
230
}
239
231
className = "w-full bg-inherit px-2 outline-0"
@@ -312,7 +304,7 @@ function TraineePerfomanceDetails() {
312
304
< div className = "w-2/3 flex flex-col border border-gray-200 mb-4 float-left rounded-tr-lg rounded-bl-lg" >
313
305
< div className = "m-8" >
314
306
< p className = "float-left" >
315
- { ratings ?. quality_remark }
307
+ { ratings ?. general_remark }
316
308
</ p >
317
309
</ div >
318
310
< div className = "ml-9 text-primary " >
@@ -323,11 +315,9 @@ function TraineePerfomanceDetails() {
323
315
< div className = "m-4" >
324
316
< div className = " " >
325
317
< input
326
- value = { rows . bodyQuality }
327
318
onChange = { ( e ) =>
328
319
setRows ( {
329
320
...rows ,
330
- bodyQuality : e . target . value ,
331
321
} )
332
322
}
333
323
className = "w-full bg-inherit px-2 outline-0"
@@ -400,13 +390,13 @@ function TraineePerfomanceDetails() {
400
390
as = "h3"
401
391
className = " font-medium content-center text-gray-900 dark:text-dark-text-fill"
402
392
>
403
- { t ( 'Reply on Professional Remarks' ) }
393
+ { t ( 'Reply on Remarks' ) }
404
394
</ Dialog . Title >
405
395
< div className = "mt-4 md:mt-8" >
406
396
< div className = "w-2/3 flex flex-col border border-gray-200 mb-4 float-left rounded-tr-lg rounded-bl-lg" >
407
397
< div className = "m-8" >
408
398
< p className = "float-left" >
409
- { ratings ?. professional_remark }
399
+ { ratings ?. remark }
410
400
</ p >
411
401
</ div >
412
402
< div className = "ml-9 text-primary " >
@@ -417,11 +407,9 @@ function TraineePerfomanceDetails() {
417
407
< div className = "m-4" >
418
408
< div className = " " >
419
409
< input
420
- value = { rows . bodyProfessional }
421
410
onChange = { ( e ) =>
422
411
setRows ( {
423
412
...rows ,
424
- bodyProfessional : e . target . value ,
425
413
} )
426
414
}
427
415
className = "w-full bg-inherit px-2 outline-0"
@@ -483,7 +471,7 @@ function TraineePerfomanceDetails() {
483
471
< tr className = "text-black bg-gray-100 dark:bg-dark-tertiary dark:text-dark-text-fill " >
484
472
< td className = "py-10 px-10 text-left" > { t ( 'Remark' ) } </ td >
485
473
< td className = "py-3 text-start text-sm" >
486
- { ratings ?. quantity_remark }
474
+ { ratings ?. remark }
487
475
</ td >
488
476
</ tr >
489
477
</ tbody >
@@ -516,7 +504,7 @@ function TraineePerfomanceDetails() {
516
504
< tr className = "text-black bg-gray-100 dark:bg-dark-tertiary dark:text-dark-text-fill " >
517
505
< td className = "py-10 px-10 text-left" > { t ( 'Remark' ) } </ td >
518
506
< td className = "py-3 text-start text-sm" >
519
- { ratings ?. quality_remark }
507
+ { ratings ?. remark }
520
508
</ td >
521
509
</ tr >
522
510
</ tbody >
@@ -551,7 +539,7 @@ function TraineePerfomanceDetails() {
551
539
< tr className = "text-black bg-gray-100 dark:bg-dark-tertiary dark:text-dark-text-fill " >
552
540
< td className = "py-10 px-10 text-left" > { t ( 'Remark' ) } </ td >
553
541
< td className = "py-3 text-start text-sm" >
554
- { ratings ?. professional_remark }
542
+ { ratings ?. remark }
555
543
</ td >
556
544
</ tr >
557
545
</ tbody >
0 commit comments