diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-12-10 12:27:46 -0500 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-12-10 15:14:57 -0500 |
commit | d8e99623986708c7b64984f8bf638a9fbec4a3d2 (patch) | |
tree | fef5e9a1db26edfdf8ff23caa179075d7a7fde39 /recipeBuddy/src/app/app.module.ts | |
parent | 0f8d2ab5d57334320f8c60b626c5af455eddae4f (diff) |
Add edit-recipe form/page
Mostly copied from add recipe page.
Updates recipe successfully, but doesn't pull ingredients/steps into
form, and doesn't use pass service to get recipe.
Diffstat (limited to 'recipeBuddy/src/app/app.module.ts')
-rw-r--r-- | recipeBuddy/src/app/app.module.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipeBuddy/src/app/app.module.ts b/recipeBuddy/src/app/app.module.ts index 359254e..4acbaa6 100644 --- a/recipeBuddy/src/app/app.module.ts +++ b/recipeBuddy/src/app/app.module.ts @@ -5,7 +5,6 @@ import { MatCardModule } from '@angular/material'; import { AppComponent } from './app.component'; import { CookPageComponent} from './cook-page/cook-page.component'; -import { StepCardComponent } from './cook-page/step-card/step-card.component'; import { AppRoutingModule } from './app-routing.module'; @@ -19,13 +18,14 @@ import { MatInputModule } from '@angular/material/input'; import { MatFormFieldModule } from '@angular/material'; import { MatIconModule } from '@angular/material/icon'; import { MatButtonModule } from '@angular/material/button'; +import { EditRecipeComponent } from './edit-recipe/edit-recipe.component'; @NgModule({ declarations: [ AppComponent, CookPageComponent, - StepCardComponent, - AddRecipeComponent + AddRecipeComponent, + EditRecipeComponent ], imports: [ BrowserModule, |