summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/add-recipe/add-recipe.component.ts
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-12-11 16:53:55 -0500
committerTucker Evans <tuckerevans24@gmail.com>2019-12-11 16:53:55 -0500
commit40e096d8795e0930c99aacbc4116fceacb13ef41 (patch)
tree017e940a90e87729ac69eb7ea33be0ff1c585632 /recipeBuddy/src/app/add-recipe/add-recipe.component.ts
parent643e4262e8cdd63b546ea7f9b3c8e85883e0215c (diff)
Fix units form control name
Diffstat (limited to 'recipeBuddy/src/app/add-recipe/add-recipe.component.ts')
-rw-r--r--recipeBuddy/src/app/add-recipe/add-recipe.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipeBuddy/src/app/add-recipe/add-recipe.component.ts b/recipeBuddy/src/app/add-recipe/add-recipe.component.ts
index 0366950..3c32ae7 100644
--- a/recipeBuddy/src/app/add-recipe/add-recipe.component.ts
+++ b/recipeBuddy/src/app/add-recipe/add-recipe.component.ts
@@ -29,7 +29,7 @@ export class AddRecipeComponent {
this.fb.group({
ingrName: [''],
amount: ['', Validators.pattern('^[0-9]*(\.[0-9]*)?$')],
- units: ['']
+ unit: ['']
})
]),
steps: this.fb.array([
@@ -61,7 +61,7 @@ export class AddRecipeComponent {
this.fb.group({
ingrName: [''],
amount: ['', Validators.pattern('^[0-9]*(\.[0-9]*)?$')],
- units: ['']
+ unit: ['']
})
);
}