fix(nc-gui): update workspace icon issue from admin panel

This commit is contained in:
Ramesh Mane
2024-11-20 17:11:12 +00:00
parent 3c2b7a7245
commit 98bfc9c8f3
5 changed files with 21 additions and 17 deletions

View File

@@ -39,10 +39,6 @@ function selectEmoji(_emoji: any) {
isOpen.value = false
}
const isUnicodeEmoji = computed(() => {
return emojiRef.value?.match(/\p{Extended_Pictographic}/gu)
})
const onClick = (e: Event) => {
if (readonly) return
@@ -95,7 +91,7 @@ const showClearButton = computed(() => {
<template v-if="!emojiRef">
<slot name="default" />
</template>
<template v-else-if="isUnicodeEmoji">
<template v-else-if="isUnicodeEmoji(emojiRef)">
{{ emojiRef }}
</template>
<template v-else>