fix errors in console

This commit is contained in:
Henry Jameson 2026-05-19 18:14:19 +03:00
commit 2d07671552
3 changed files with 3 additions and 3 deletions

View file

@ -589,7 +589,7 @@ const EmojiInput = {
setCaret({ target: { selectionStart } }) {
this.caret = selectionStart
this.$nextTick(() => {
this.$refs.suggestorPopover.updateStyles()
this.$refs.suggestorPopover?.updateStyles()
})
},
autoCompleteItemLabel(suggestion) {

View file

@ -26,7 +26,7 @@
/>
<template v-if="!buttonClass.disabled && (!button.interactive || button?.interactive(funcArg)) && button.toggleable?.(funcArg) && button.active">
<FAIcon
v-if="button.active(funcArg)"
v-if="button.active(funcArg) && button.activeIndicator?.() !== null"
class="active-marker"
transform="shrink-6 up-9 left-12"
:icon="button.activeIndicator?.(funcArg) || 'check'"

View file

@ -21,7 +21,7 @@ export const BUTTONS = [
anonLink: true,
toggleable: true,
closeIndicator: 'times',
activeIndicator: 'none',
activeIndicator: null,
action({ emit }) {
emit('toggleReplying')
return Promise.resolve()