Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: user select handler (#6327)

boojackf556bacda5c2
diff --git a/frontend/src/components/v2/Select/UserSelect.vue b/frontend/src/components/v2/Select/UserSelect.vue
index f6de399e19..1ebfb533b0 100644
--- a/frontend/src/components/v2/Select/UserSelect.vue
+++ b/frontend/src/components/v2/Select/UserSelect.vue
@@ -199,11 +199,11 @@ const combinedUserList = computed(() => {
return list;
});
-const handleValueUpdated = () => {
+const handleValueUpdated = (value: string | string[]) => {
if (props.multiple) {
- emit("update:users", value.value as string[]);
+ emit("update:users", value as string[]);
} else {
- emit("update:user", value.value as string);
+ emit("update:user", value as string);
}
};