angular-crash-2021
angular-crash-2021 copied to clipboard
Use the provided task from the event
Since the task-item
component is providing the task, it should be used instead of the looped data.
This provides more consistency and in case the event has changed any data, using the looped data won't be visible in the handlers.
Otherwise, the Task could be removed from the event emitting