don't show bookmark button for anon visitors

This commit is contained in:
Henry Jameson 2022-06-21 01:24:50 +03:00
commit e6ed00ea1c
2 changed files with 27 additions and 22 deletions

View file

@ -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}`
}