]> cat aescling's git repositories - mastodon.git/commit
Unliking a post updates like count on front end (#12140)
authorNima Boscarino <nima.boscarino@gmail.com>
Thu, 24 Oct 2019 20:49:45 +0000 (13:49 -0700)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 24 Oct 2019 20:49:45 +0000 (22:49 +0200)
commita9530e29a2813ed8cf4c8f13fe60dd9fad245466
treed52784b194eae5a27f999980b37067ae6bfc18da
parent15c192ce4053d77183538efa1740ba5bec71082e
Unliking a post updates like count on front end (#12140)

* return the new favourites_count
when unfavouriting a status

* Remove trailing whitespace

* revert changes to favourites_controller

* Decrease favourites_count through statuses reducer

* styling fix

* Fix missing trailing comma
app/javascript/mastodon/reducers/statuses.js