kiraarghy / PrioritisationApp

0 stars 0 forks source link

Event handler tracking and prioritisation. #1

Closed kiraarghy closed 7 years ago

kiraarghy commented 7 years ago

Currently, the event handler tracking seems to be based on index. Increasing prioritisation causes the button to refer to the wrong object as index isn't changed by this.

Solution is probably to get the event handler tracking to track based on prioritisation.

kiraarghy commented 7 years ago

Fixed for handleDelete. ToDo: handleEditStatus, handleEditChange

kiraarghy commented 7 years ago

Fixed all of this by sorting by array index rather than sorting by items.prioritisation.