# Post Voting has likes enabled but they won't appear

**URL:** <https://meta.discourse.org/t/post-voting-has-likes-enabled-but-they-wont-appear/248297>\
**Category:** Bug\
**Tags:** reactions, post-voting\
**Created:** [December 8, 2022, 5:37pm UTC](https://meta.discourse.org/t/post-voting-has-likes-enabled-but-they-wont-appear/248297 "2022-12-08T17:37:10Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)\
**Post date:** [December 28, 2022, 4:32pm UTC](https://meta.discourse.org/t/post-voting-has-likes-enabled-but-they-wont-appear/248297/9 "2022-12-28T16:32:28Z")

</div>

```js
// Removing the `like` button
api.removePostMenuButton("like");
// And adding it again
api.decorateWidget("post-menu:before-extra-controls", (dec) => {
  return dec.attach("discourse-reactions-actions", {

```

Instead of doing this 🔼 we should add a `replacePostMenuButton` method in core plugin api and use it in reactions plugin. In that case, we don’t need a separate logic for reaction button in post voting plugin.

Since there is a workaround, I will make this change after the upcoming release.

---

_[View the full topic](https://meta.discourse.org/t/post-voting-has-likes-enabled-but-they-wont-appear/248297)._
