fix: remove default icon

This commit is contained in:
Shariq Ansari 2024-05-21 16:42:07 +05:30
parent b0bf281007
commit 979481c379
2 changed files with 2 additions and 6 deletions

View File

@ -66,7 +66,7 @@
<script setup>
import { gemoji } from 'gemoji'
import { Popover } from 'frappe-ui'
import { ref, computed, onMounted } from 'vue'
import { ref, computed } from 'vue'
const search = ref('')
const emoji = defineModel()
@ -109,9 +109,5 @@ function randomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1) + min)
}
onMounted(() => {
if (!emoji.value) setRandom()
})
defineExpose({ setRandom })
</script>

View File

@ -67,7 +67,7 @@ import IconPicker from '@/components/IconPicker.vue'
import SmileIcon from '@/components/Icons/SmileIcon.vue'
import { createResource, Textarea, FileUploader, Dropdown } from 'frappe-ui'
import FeatherIcon from 'frappe-ui/src/components/FeatherIcon.vue'
import { ref, computed, nextTick, watch } from 'vue'
import { ref, nextTick, watch } from 'vue'
const props = defineProps({
doctype: String,