This commit is contained in:
Henry Jameson 2021-06-08 00:09:16 +03:00
parent 59d046b163
commit 38d9ea8b17
2 changed files with 2 additions and 2 deletions

View file

@ -1,9 +1,9 @@
<template> <template>
<div <div
ref="root"
v-click-outside="onClickOutside" v-click-outside="onClickOutside"
class="emoji-input" class="emoji-input"
:class="{ 'with-picker': !hideEmojiButton }" :class="{ 'with-picker': !hideEmojiButton }"
ref='root'
> >
<slot /> <slot />
<template v-if="enableEmojiPicker"> <template v-if="enableEmojiPicker">

View file

@ -745,7 +745,7 @@ export default {
console.warn(e) console.warn(e)
} }
}, },
selected() { selected () {
this.selectedTheme = Object.entries(this.availableStyles).find(([k, s]) => { this.selectedTheme = Object.entries(this.availableStyles).find(([k, s]) => {
if (Array.isArray(s)) { if (Array.isArray(s)) {
console.log(s[0] === this.selected, this.selected) console.log(s[0] === this.selected, this.selected)