The like count and like icon don't update when a single map is opened from a share link
registered
H
Haemocyte
When you follow a share link to a published map and click the "like", the heart icon does not change to a filled version and the counter next to it does not update.
The POST request to api/scenes/:mapId/liked goes through, and the "likeCount" and "isLikedByMe" in the response body are correct. Refreshing shows the correct icon and count.
After some experimentation, it seems that this only happens when I open a share link. For instance, if I go to https://inkarnate.com/m/6701yE-deep-jungle-40x40/ The button does not work, but if I go to the profile and navigate back to https://inkarnate.com/p/XZjOVe-cropox-battlemaps/maps/6701yE-deep-jungle-40x40/ (which is a different url) the button works.
So, reproduction steps:
- Open a share link, of the form inkarnate.com/m/{map-slug}/
- Click the "Like" button
Expected: the like button and counter change accordingly
Actual: Like button counter remain the same
Log In
C
Cody
marked this post as
registered
Philipp
Which browser are you using? Chrome and Firefox work for me.
H
Haemocyte
Philipp Chrome or Firefox didn't work for me. I'm on Linux if that makes a difference.
H
Haemocyte
Philipp It does not work for mee inf Firefox on Windows, either.