ko9x / my-notes-beta

An app to make it easier for me to see my coding notes
0 stars 0 forks source link

edit component grabs an array that is hard coded into the noteService #8

Closed ko9x closed 7 years ago

ko9x commented 7 years ago

Currently the note service relies on an array that is hard coded into the noteService. Those arrays can be grabbed from the list item component. The function in the list item component should be moved to the noteService I think. And then the arrays can be create dynamically in the note service as well or the data can just be parsed and grabbed by the edit component when needed. This is also discussed in issue #7

ko9x commented 7 years ago

Fixed. I moved most of the looping to the service.