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,
},
filters: {
type: Array,
default: () => [],
type: [Array, String],
default: [],
},
modelValue: {
type: String,
@ -110,13 +110,13 @@ watchDebounced(
text.value = val
reload(val)
},
{ debounce: 300, immediate: true }
{ debounce: 300, immediate: true },
)
watchDebounced(
() => props.doctype,
() => reload(''),
{ debounce: 300, immediate: true }
{ debounce: 300, immediate: true },
)
const options = createResource({

View File

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