Skip to content

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

fix: hide system-bot correctly (#6179)

Liu Ji028e529a03ab
diff --git a/frontend/src/components/v2/Select/UserSelect.vue b/frontend/src/components/v2/Select/UserSelect.vue
index d525a863c9..a82bf2ef55 100644
--- a/frontend/src/components/v2/Select/UserSelect.vue
+++ b/frontend/src/components/v2/Select/UserSelect.vue
@@ -140,6 +140,10 @@ const rawUserList = computed(() => {
return false;
}
+ if (user.userType === UserType.SYSTEM_BOT && !props.includeSystemBot) {
+ return false;
+ }
+
return true;
});
});