Skip to content

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

chore: add show actions to db group table (#14008)

boojack05366999da74
diff --git a/frontend/src/components/DatabaseGroup/DatabaseGroupDataTable.vue b/frontend/src/components/DatabaseGroup/DatabaseGroupDataTable.vue
index c69e8ee825..4229438c3f 100644
--- a/frontend/src/components/DatabaseGroup/DatabaseGroupDataTable.vue
+++ b/frontend/src/components/DatabaseGroup/DatabaseGroupDataTable.vue
@@ -48,6 +48,7 @@ const props = withDefaults(
showProject?: boolean;
customClick?: boolean;
showSelection?: boolean;
+ showActions?: boolean;
singleSelection?: boolean;
selectedDatabaseGroupNames?: string[];
}>(),
@@ -113,6 +114,7 @@ const columnList = computed((): DatabaseGroupDataTableColumn[] => {
key: "actions",
title: "",
width: 150,
+ hide: !props.showActions,
render: (data) => {
return (
<div class="flex justify-end gap-2">
diff --git a/frontend/src/components/DatabaseGroup/ProjectDatabaseGroupPanel.vue b/frontend/src/components/DatabaseGroup/ProjectDatabaseGroupPanel.vue
index db301a2a43..bc6a525f6a 100644
--- a/frontend/src/components/DatabaseGroup/ProjectDatabaseGroupPanel.vue
+++ b/frontend/src/components/DatabaseGroup/ProjectDatabaseGroupPanel.vue
@@ -6,6 +6,7 @@
:database-group-list="dbGroupList"
:custom-click="true"
:loading="!ready"
+ :show-actions="true"
@row-click="handleDatabaseGroupClick"
/>
</div>