Skip to content

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

chore: filter properties of audit log modal content (#3970)

ZhengX4349ed8640f1
diff --git a/frontend/src/views/SettingWorkspaceAuditLog.vue b/frontend/src/views/SettingWorkspaceAuditLog.vue
index 1a021a1540..dca5a63dba 100644
--- a/frontend/src/views/SettingWorkspaceAuditLog.vue
+++ b/frontend/src/views/SettingWorkspaceAuditLog.vue
@@ -85,7 +85,10 @@ const typePrefixList = (
).map((key) => AuditActivityType[key]);
const handleViewDetail = (log: any) => {
- state.modalContent = log;
+ // filter properties we don't need
+ state.modalContent = Object.fromEntries(
+ Object.entries(log).filter(([key, _]) => key in logKeyMap)
+ );
state.showModal = true;
dialog.value!.open();
};