IlluminusLimited/Frontend

Cannot remove collectable from collection until page has been refreshed

Opened this issue · 0 comments

The UI doesn't seem to track the response from the api when it POSTs to /collections.
See the "undefined" 404s from attempted DELETEs when I clicked the little x for the collection while the pin modal was open (it's closed in the screenshot because I clicked stuff).

The expected behavior is that when I add a collectable to a collection, there is a POST but when I delete it, it should always DELETE or toast in the UI that there was a problem with removing the item from the collection.

screenshot from 2018-06-04 23-48-38