aboutsummaryrefslogtreecommitdiff
path: root/src/components/extra_buttons/extra_buttons.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-06-21 01:24:50 +0300
committerHenry Jameson <me@hjkos.com>2022-06-21 01:24:50 +0300
commite6ed00ea1cb526cbd57b4faef95dcc57b5b73a54 (patch)
tree7755dfa8308ec29ef9003448d3ec687780b6dafd /src/components/extra_buttons/extra_buttons.js
parent3d4d694b493b9a0785462d1d5f57aec6411ecc0a (diff)
don't show bookmark button for anon visitors
Diffstat (limited to 'src/components/extra_buttons/extra_buttons.js')
-rw-r--r--src/components/extra_buttons/extra_buttons.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/extra_buttons/extra_buttons.js b/src/components/extra_buttons/extra_buttons.js
index dd45b6b9..2f534896 100644
--- a/src/components/extra_buttons/extra_buttons.js
+++ b/src/components/extra_buttons/extra_buttons.js
@@ -89,6 +89,9 @@ const ExtraButtons = {
canMute () {
return !!this.currentUser
},
+ canBookmark () {
+ return !!this.currentUser
+ },
statusLink () {
return `${this.$store.state.instance.server}${this.$router.resolve({ name: 'conversation', params: { id: this.status.id } }).href}`
}