From be48e503fd90a45f404953710953ddfe00aac944 Mon Sep 17 00:00:00 2001 From: Martin Brennan Date: Thu, 7 May 2020 14:30:10 +1000 Subject: [PATCH] FIX: Show the Bookmark button for PM topics (#9659) There is no point in suppressing this now that we have bookmark reminders. --- .../discourse/app/initializers/topic-footer-buttons.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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"); } });