SWE574-Nerds / friendly-eureka

2 stars 1 forks source link

Editing a Listory Item #57

Open onatbas opened 6 years ago

onatbas commented 6 years ago

Editing listories owned by users should be supported.

This should be pretty easy to implement. You want to re-use create.component.ts (https://github.com/SWE574-Nerds/friendly-eureka/tree/master/frontend/eureka/src/app/components/create)

  1. Change the implementation so that it can recieve a created listory, and populate the page with given listory.
  2. Implement the solution such that, if at creation a listory wasa provided, submit should do UPDATE operation. If not, it should do usual CREATE option.

Backend update services are there, so it should be front-end only.