Skip to content

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

fix(frontend): show drifted databases in project database list by default (#18449)

Vincent Huange18f2bbea22e
diff --git a/frontend/src/components/ProjectDatabasesPanel.vue b/frontend/src/components/ProjectDatabasesPanel.vue
index 9bb54cd398..6fc057463b 100644
--- a/frontend/src/components/ProjectDatabasesPanel.vue
+++ b/frontend/src/components/ProjectDatabasesPanel.vue
@@ -154,7 +154,9 @@ const selectedEngines = computed(() => {
const selectedDriftedValue = computed(() => {
const driftedValue = getValueFromSearchParams(state.params, "drifted");
- return driftedValue === "true" ? true : false;
+ if (driftedValue === "true") return true;
+ if (driftedValue === "false") return false;
+ return undefined;
});
const filter = computed(() => ({