Skip to content

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

chore: fix filter (#12363)

Liu Ji1e2639431892
diff --git a/frontend/src/components/ChangeHistory/AffectedTableSelect.vue b/frontend/src/components/ChangeHistory/AffectedTableSelect.vue
index 8d3f8aa3d0..3207e586d0 100644
--- a/frontend/src/components/ChangeHistory/AffectedTableSelect.vue
+++ b/frontend/src/components/ChangeHistory/AffectedTableSelect.vue
@@ -73,7 +73,7 @@ const affectedTableOptions = computed(() => {
const renderLabel = (option: SelectOption) => {
const { affectedTable } = option as AffectedTableSelectOption;
- if (isEqual(affectedTable, EmptyAffectedTable)) {
+ if (!affectedTable || isEqual(affectedTable, EmptyAffectedTable)) {
return t("change-history.all-tables");
}
const name = stringifyAffectedTable(affectedTable);