Hello yuuvis-team,
I am trying to delete an item out of the users`s favorites while being subscribed to userService.favorites$ and userService.getFavorites().
userService.removeFavorite() succeeds returning "null", then the subscriptions deliver a new array of favorites - but one still containing the removed favorite!
Adding a new favorite using userService.createFavorite() does not show this phenomenon - after success, the subscriptions return a new array of favorites containing the newly created one.
This is really annoying:
The user still sees the (removed) favorite. Trying to remove it again results in an error (404 not found - sounds reasonable though, it was removed!)
Is this a bug in @eo-sdk/core (6.12.0), in yuuvis (6.16.2) or am I doing something wrong?
Thanks,
Stefan