Skip to content

A platform for community discussion. Free, open, simple.

FIX: Show the Bookmark button for PM topics (#9659)

Martin Brennanbe48e503fd90
diff --git a/app/assets/javascripts/discourse/app/initializers/topic-footer-buttons.js b/app/assets/javascripts/discourse/app/initializers/topic-footer-buttons.js
index a75949ba23c..7751be37a11 100644
--- a/app/assets/javascripts/discourse/app/initializers/topic-footer-buttons.js
+++ b/app/assets/javascripts/discourse/app/initializers/topic-footer-buttons.js
@@ -84,7 +84,7 @@ export default {
});
registerTopicFooterButton({
- dependentKeys: ["topic.bookmarked", "topic.isPrivateMessage"],
+ dependentKeys: ["topic.bookmarked"],
id: "bookmark",
icon() {
if (this.get("topic.bookmark_reminder_at")) {
@@ -120,9 +120,6 @@ export default {
action: "toggleBookmark",
dropdown() {
return this.site.mobileView;
- },
- displayed() {
- return !this.get("topic.isPrivateMessage");
}
});