Skip to content

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

chore: filter failed change history for changelist (#9392)

rebelice16cf7d7c041a
diff --git a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryForm.vue b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryForm.vue
index 3897830a6f..bfe5df8112 100644
--- a/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryForm.vue
+++ b/frontend/src/components/Changelist/ChangelistDetail/AddChangePanel/form/ChangeHistoryForm.vue
@@ -74,6 +74,7 @@ import { AffectedTable, EmptyAffectedTable } from "@/types/changeHistory";
import { Changelist_Change as Change } from "@/types/proto/v1/changelist_service";
import {
ChangeHistory,
+ ChangeHistory_Status,
ChangeHistory_Type,
} from "@/types/proto/v1/database_service";
import {
@@ -122,7 +123,10 @@ const filteredChangeHistoryList = computed(() => {
const types = state.changeHistoryTypes;
list = list.filter((changeHistory) => {
const semanticType = semanticChangeHistoryType(changeHistory.type);
- return types.includes(semanticType);
+ return (
+ types.includes(semanticType) &&
+ changeHistory.status === ChangeHistory_Status.DONE
+ );
});
const kw = state.keyword.trim().toLowerCase();