mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 09:36:49 +00:00
fix(nc-gui): update workspace icon issue from admin panel
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user