From 5f837e4b337cb14bf7f0d18613eb64dddaa78c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D5=A1=C9=A8=D5=BC=C9=A2=D3=84=D5=A1=D6=85=D5=BC=C9=A2?= Date: Sat, 11 Nov 2023 19:33:08 +0800 Subject: [PATCH] fix(nc-gui): runtime directive warnings in EmojiPicker.vue --- .../nc-gui/components/general/EmojiPicker.vue | 96 ++++++++++--------- 1 file changed, 49 insertions(+), 47 deletions(-) diff --git a/packages/nc-gui/components/general/EmojiPicker.vue b/packages/nc-gui/components/general/EmojiPicker.vue index 29f376b702..5a579909dd 100644 --- a/packages/nc-gui/components/general/EmojiPicker.vue +++ b/packages/nc-gui/components/general/EmojiPicker.vue @@ -2,7 +2,6 @@ import data from 'emoji-mart-vue-fast/data/apple.json' import 'emoji-mart-vue-fast/css/emoji-mart.css' import { Icon } from '@iconify/vue' - import { EmojiIndex, Picker } from 'emoji-mart-vue-fast/src' const props = defineProps<{ @@ -21,6 +20,7 @@ const clearable = computed(() => { }) const isOpen = ref(false) + const emojiIndex = new EmojiIndex(data, { emojisToShowFilter: (emoji: any) => { if (Number(emoji.added_in) >= 14) { @@ -78,60 +78,62 @@ const showClearButton = computed(() => { + +