# Like-Button funktioniert nicht bei archivierten Themen

**URL:** <https://meta.discourse.org/t/like-button-does-not-work-on-archived-topics/233822>\
**Category:** Bug\
**Tags:** reactions\
**Created:** [24. Juli 2022 um 23:10 UTC](https://meta.discourse.org/t/like-button-does-not-work-on-archived-topics/233822 "2022-07-24T23:10:33Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)\
**Post date:** [22. August 2022 um 13:07 UTC](https://meta.discourse.org/t/like-button-does-not-work-on-archived-topics/233822/29 "2022-08-22T13:07:18Z")

</div>

Ich habe discourse-reactions mit archivierten Themen besser zum Laufen gebracht und es mit diesen beiden PRs dem normalen Like-Button ähnlicher gemacht:

> <https://github.com/discourse/discourse/pull/17951>
>
> The like button was sometimes hidden in archived topics and that was confusing u…ser experience. This PR includes multiple commits, each one containing a different improvement.
> 
> The first change is to no longer allow users to remove their likes from archived topics. They were able to remove it, but not add it back.
> 
> The second change was to show the like button even if the topic is archived. The like button was hidden if for post that had no likes. It was confusing to not see the button and it broke discourse-reactions plugin too.

> <https://github.com/discourse/discourse-reactions/pull/176>
>
> The logic for showing the not-allowed cursor did not cover the edge
> case when t…he user has not reacted yet, but they cannot either because
> the topic does not allow.
> 
> This is related to https://github.com/discourse/discourse/pull/17951.

Das sollte kein Problem mehr darstellen.

---

_[View the full topic](https://meta.discourse.org/t/like-button-does-not-work-on-archived-topics/233822)._
