fix: minor fixes
This commit is contained in:
parent
f5aca259b1
commit
746ec3e162
@ -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({
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user