fix: minor fixes

This commit is contained in:
Shariq Ansari 2024-12-01 14:14:36 +05:30
parent f5aca259b1
commit 746ec3e162
2 changed files with 5 additions and 5 deletions

View File

@ -70,8 +70,8 @@ const props = defineProps({
required: true, required: true,
}, },
filters: { filters: {
type: Array, type: [Array, String],
default: () => [], default: [],
}, },
modelValue: { modelValue: {
type: String, type: String,
@ -110,13 +110,13 @@ watchDebounced(
text.value = val text.value = val
reload(val) reload(val)
}, },
{ debounce: 300, immediate: true } { debounce: 300, immediate: true },
) )
watchDebounced( watchDebounced(
() => props.doctype, () => props.doctype,
() => reload(''), () => reload(''),
{ debounce: 300, immediate: true } { debounce: 300, immediate: true },
) )
const options = createResource({ const options = createResource({

View File

@ -83,7 +83,7 @@
</template> </template>
<template #item-label="{ option }"> <template #item-label="{ option }">
<Tooltip :text="option.value"> <Tooltip :text="option.value">
<div class="cursor-pointer"> <div class="cursor-pointer text-ink-gray-9">
{{ getUser(option.value).full_name }} {{ getUser(option.value).full_name }}
</div> </div>
</Tooltip> </Tooltip>