# 게시물 투표에 좋아요가 활성화되어 있지만 표시되지 않습니다

**URL:** <https://meta.discourse.org/t/post-voting-has-likes-enabled-but-they-wont-appear/248297>\
**Category:** Bug\
**Tags:** reactions, post-voting\
**Created:** [12월 8, 2022, 5:37오후 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:** 7

<div class="post-metadata">

**Author:** ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)\
**Post date:** [12월 14, 2022, 10:01오전 UTC](https://meta.discourse.org/t/post-voting-has-likes-enabled-but-they-wont-appear/248297/7 "2022-12-14T10:01:02Z")

</div>

| reactions 설치 여부 | post voting 설치 여부 | 답변에 좋아요 활성화 | removePostMenuButton(‘like’) 호출? |
| --- | --- | --- | --- |
| 아니요 | 아니요 | 아니요 (해당 없음) | 아니요, ❤ 유지 |
| 예 | 아니요 | 해당 없음 | 예, 좋아요 버튼 제거, 리액션 표시 |
| 아니요 | 예 | 아니요 | 예, 답변의 좋아요 버튼 제거 |
| 아니요 | 예 | 예 | 아니요, 모든 게시물에 ❤ 유지 |
| 예 | 예 | 아니요 | 예, 좋아요 버튼 제거, **리액션은 첫 게시물에만 표시** 하고 답변에는 표시하지 않음 |
| 예 | 예 | 예 | 예, 좋아요 버튼 제거, 모든 게시물에 리액션 표시 |

여기서 진리표(truth table)와 유사한 것을 작성해 보았습니다. 사이트 설정, 특히 `답변에 좋아요 활성화` 설정에 따라 각 게시물에 리액션이 다르게 표시되도록 프로그래밍 방식으로 구현해야 하며, 단순히 css display:none을 사용하는 방식으로는 안 됩니다.

@tgxworld가 당시 이 문제를 어느 정도 짚어 주며, discourse-reactions에 API를 노출하는 것이 좋겠다고 제안했습니다(t/67550/10). 이를 고려해 볼 필요가 있을 것 같습니다.

---

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