fix: remove default icon
This commit is contained in:
parent
b0bf281007
commit
979481c379
@ -66,7 +66,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { gemoji } from 'gemoji'
|
import { gemoji } from 'gemoji'
|
||||||
import { Popover } from 'frappe-ui'
|
import { Popover } from 'frappe-ui'
|
||||||
import { ref, computed, onMounted } from 'vue'
|
import { ref, computed } from 'vue'
|
||||||
|
|
||||||
const search = ref('')
|
const search = ref('')
|
||||||
const emoji = defineModel()
|
const emoji = defineModel()
|
||||||
@ -109,9 +109,5 @@ function randomInt(min, max) {
|
|||||||
return Math.floor(Math.random() * (max - min + 1) + min)
|
return Math.floor(Math.random() * (max - min + 1) + min)
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
if (!emoji.value) setRandom()
|
|
||||||
})
|
|
||||||
|
|
||||||
defineExpose({ setRandom })
|
defineExpose({ setRandom })
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -67,7 +67,7 @@ import IconPicker from '@/components/IconPicker.vue'
|
|||||||
import SmileIcon from '@/components/Icons/SmileIcon.vue'
|
import SmileIcon from '@/components/Icons/SmileIcon.vue'
|
||||||
import { createResource, Textarea, FileUploader, Dropdown } from 'frappe-ui'
|
import { createResource, Textarea, FileUploader, Dropdown } from 'frappe-ui'
|
||||||
import FeatherIcon from 'frappe-ui/src/components/FeatherIcon.vue'
|
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({
|
const props = defineProps({
|
||||||
doctype: String,
|
doctype: String,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user