fix: add immediate execution to watch for assignees updates
(cherry picked from commit f2d87fa801b2c906e182f85bf8e7b29f52ccab4a)
This commit is contained in:
parent
f50b8a78eb
commit
cf0f922f2f
@ -152,6 +152,7 @@ watch(
|
|||||||
updateAssignees()
|
updateAssignees()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{ immediate: true },
|
||||||
)
|
)
|
||||||
|
|
||||||
async function updateAssignees() {
|
async function updateAssignees() {
|
||||||
|
|||||||
@ -42,7 +42,6 @@ const showDropdown = ref(props.options?.length > 1)
|
|||||||
const activeButton = ref(props.options?.[0] || {})
|
const activeButton = ref(props.options?.[0] || {})
|
||||||
|
|
||||||
const parsedOptions = computed(() => {
|
const parsedOptions = computed(() => {
|
||||||
debugger
|
|
||||||
return (
|
return (
|
||||||
props.options?.map((option) => {
|
props.options?.map((option) => {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user