commit: 50202255b88ffa1c96fcb81dcf12fa402abcd0b6
parent d9154224dbec38b0b111dfbf8fed373ae814cade
Author: Henry Jameson <me@hjkos.com>
Date: Sun, 26 Jan 2025 22:31:24 +0200
fix some warnings
Diffstat:
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/components/status_action_buttons/action_button.js b/src/components/status_action_buttons/action_button.js
@@ -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',
diff --git a/src/components/status_action_buttons/status_action_buttons.js b/src/components/status_action_buttons/status_action_buttons.js
@@ -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'
}
}