Use StillImage for emoji group header
Ref: grouped-emoji-picker
This commit is contained in:
parent
031a01be79
commit
5ab51613b7
@ -1,5 +1,6 @@
|
||||
import { defineAsyncComponent } from 'vue'
|
||||
import Checkbox from '../checkbox/checkbox.vue'
|
||||
import StillImage from '../still-image/still-image.vue'
|
||||
import lozad from 'lozad'
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import {
|
||||
@ -52,7 +53,8 @@ const EmojiPicker = {
|
||||
},
|
||||
components: {
|
||||
StickerPicker: defineAsyncComponent(() => import('../sticker_picker/sticker_picker.vue')),
|
||||
Checkbox
|
||||
Checkbox,
|
||||
StillImage
|
||||
},
|
||||
methods: {
|
||||
onStickerUploaded (e) {
|
||||
|
@ -16,10 +16,10 @@
|
||||
v-if="group.image"
|
||||
class="emoji-picker-header-image"
|
||||
>
|
||||
<img
|
||||
<still-image
|
||||
:alt="group.text"
|
||||
:src="group.image"
|
||||
>
|
||||
/>
|
||||
</span>
|
||||
<FAIcon
|
||||
v-else
|
||||
|
Loading…
Reference in New Issue
Block a user