Skip to content

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

fix: hide NOT_FOUND databases in sidebar (#4344)

Liu Jicba0bdea83fe
diff --git a/frontend/src/components/DatabaseListSidePanel.vue b/frontend/src/components/DatabaseListSidePanel.vue
index 5baf4bc716..0c0582b25e 100644
--- a/frontend/src/components/DatabaseListSidePanel.vue
+++ b/frontend/src/components/DatabaseListSidePanel.vue
@@ -43,7 +43,9 @@ export default defineComponent({
// Use this to make the list reactive when project is transferred.
const databaseList = computed((): Database[] => {
- return databaseStore.getDatabaseListByPrincipalId(currentUser.value.id);
+ return databaseStore
+ .getDatabaseListByPrincipalId(currentUser.value.id)
+ .filter((db) => db.syncStatus === "OK");
});
const databaseListByEnvironment = computed(() => {