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

There is no point in suppressing this now that we have bookmark reminders.
This commit is contained in:
Martin Brennan
2020-05-07 14:30:10 +10:00
committed by GitHub
parent 6fb0f36ce1
commit be48e503fd

View File

@@ -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");
}
});