#468 - shwo pin button for valid statuses (public & unlisted)
This commit is contained in:
parent
9fc997500e
commit
075ddc34f1
2 changed files with 5 additions and 2 deletions
|
@ -44,6 +44,9 @@ const ExtraButtons = {
|
|||
},
|
||||
ownStatus () {
|
||||
return this.status.user.id === this.currentUser.id
|
||||
},
|
||||
canPin () {
|
||||
return this.ownStatus && (this.status.visibility === 'public' || this.status.visibility === 'unlisted')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue