henrylin03 / tasks

help you manage your to-dos
http://henrylin.io/tasks/
MIT License
0 stars 0 forks source link

bug: cannot delete project that was newly created #96

Closed henrylin03 closed 3 months ago

henrylin03 commented 5 months ago

when attempting to delete project, nothing happens to modal (it doesn't close) and an error is seen in console: Image

however, this only happens sometimes, which makes me think that it has something to do with what is being clicked on the mousedown event.

further testing is required

henrylin03 commented 5 months ago

could not recreate. putting on pause for now

henrylin03 commented 5 months ago

for future (perhaps if it occurs again), it might be an issue with selecting the right id from somewhere on the DOM

it might be better to have the id of the project being deleted from multiple places, in case, for some reason, where it is getting from currently has an undefined project id