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 () { 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',

View file

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