fix some warnings
This commit is contained in:
parent
d9154224db
commit
50202255b8
2 changed files with 3 additions and 4 deletions
|
@ -92,6 +92,9 @@ export default {
|
||||||
threadIsMuted () {
|
threadIsMuted () {
|
||||||
return this.status.thread_muted
|
return this.status.thread_muted
|
||||||
},
|
},
|
||||||
|
hideCustomEmoji () {
|
||||||
|
return !this.$store.state.instance.pleromaCustomEmojiReactionsAvailable
|
||||||
|
},
|
||||||
buttonInnerClass () {
|
buttonInnerClass () {
|
||||||
return [
|
return [
|
||||||
this.button.name + '-button',
|
this.button.name + '-button',
|
||||||
|
|
|
@ -51,9 +51,6 @@ const StatusActionButtons = {
|
||||||
currentUser () {
|
currentUser () {
|
||||||
return this.$store.state.users.currentUser
|
return this.$store.state.users.currentUser
|
||||||
},
|
},
|
||||||
hideCustomEmoji () {
|
|
||||||
return !this.$store.state.instance.pleromaCustomEmojiReactionsAvailable
|
|
||||||
},
|
|
||||||
funcArg () {
|
funcArg () {
|
||||||
return {
|
return {
|
||||||
status: this.status,
|
status: this.status,
|
||||||
|
@ -71,7 +68,6 @@ const StatusActionButtons = {
|
||||||
return {
|
return {
|
||||||
title: this.$t('status.more_actions'),
|
title: this.$t('status.more_actions'),
|
||||||
'aria-controls': `popup-menu-${this.randomSeed}`,
|
'aria-controls': `popup-menu-${this.randomSeed}`,
|
||||||
'aria-expanded': this.expanded,
|
|
||||||
'aria-haspopup': 'menu'
|
'aria-haspopup': 'menu'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue