fix some warnings

This commit is contained in:
Henry Jameson 2025-01-26 22:31:24 +02:00
parent d9154224db
commit 50202255b8
2 changed files with 3 additions and 4 deletions

View file

@ -92,6 +92,9 @@ export default {
threadIsMuted () {
return this.status.thread_muted
},
hideCustomEmoji () {
return !this.$store.state.instance.pleromaCustomEmojiReactionsAvailable
},
buttonInnerClass () {
return [
this.button.name + '-button',

View file

@ -51,9 +51,6 @@ const StatusActionButtons = {
currentUser () {
return this.$store.state.users.currentUser
},
hideCustomEmoji () {
return !this.$store.state.instance.pleromaCustomEmojiReactionsAvailable
},
funcArg () {
return {
status: this.status,
@ -71,7 +68,6 @@ const StatusActionButtons = {
return {
title: this.$t('status.more_actions'),
'aria-controls': `popup-menu-${this.randomSeed}`,
'aria-expanded': this.expanded,
'aria-haspopup': 'menu'
}
}