hide three dot menu button if has no items
This commit is contained in:
parent
5bf208f2d1
commit
07d0143bda
2 changed files with 4 additions and 1 deletions
src/components/extra_buttons
|
@ -54,6 +54,9 @@ const ExtraButtons = {
|
|||
},
|
||||
canPin () {
|
||||
return this.ownStatus && (this.status.visibility === 'public' || this.status.visibility === 'unlisted')
|
||||
},
|
||||
enabled () {
|
||||
return this.canPin || this.canDelete
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue