Skip to content

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

fix: use correct field to display (#6739)

Liu Jiff68a6538d65
diff --git a/frontend/src/components/DatabaseGroup/DatabaseGroupSelect.vue b/frontend/src/components/DatabaseGroup/DatabaseGroupSelect.vue
index 12817c8a7c..99156781ad 100644
--- a/frontend/src/components/DatabaseGroup/DatabaseGroupSelect.vue
+++ b/frontend/src/components/DatabaseGroup/DatabaseGroupSelect.vue
@@ -8,7 +8,7 @@
@select-item="(item: DatabaseGroup) => $emit('select-database-group-id', item.name)"
>
<template #menuItem="{ item }">
- {{ getDatabaseGroupTitle(item.name) }}
+ {{ item.databasePlaceholder }}
</template>
</BBSelect>
</template>
@@ -50,10 +50,6 @@ const dbGroupList = computed(() => {
);
});
-const getDatabaseGroupTitle = (databaseGroupName: string): string => {
- return databaseGroupName.split("/").pop() || "";
-};
-
const invalidateSelectionIfNeeded = () => {
if (
state.selectedDatabaseGroup &&