Skip to content

Commit 99298b9

Browse files
committed
Fix inccorrect mapping of form value
1 parent ee481c3 commit 99298b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trainer/src/components/workout-builder/exercise/exercise.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class ExerciseComponent{
9696
this.exercise.description = form.controls['description'].value;
9797
this.exercise.image = form.controls['image'].value;
9898
this.exercise.nameSound = form.controls['nameSound'].value;
99-
this.exercise.procedure = form.controls['description'].value;
99+
this.exercise.procedure = form.controls['procedure'].value;
100100
this.exercise.videos = form.controls['videos'].value;
101101
}
102102

0 commit comments

Comments
 (0)