Skip to content

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

fix: several fix for 3.0.0 (#14201)

ecmadaoe0f50b764d02
diff --git a/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue b/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue
index 451c423f37..c632f881d3 100644
--- a/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue
+++ b/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue
@@ -114,7 +114,7 @@ const props = withDefaults(
projectName: string;
role: PresetRoleType.PROJECT_QUERIER | PresetRoleType.PROJECT_EXPORTER;
database?: ComposedDatabase;
- placement: "left" | "right";
+ placement?: "left" | "right";
}>(),
{
database: undefined,
@@ -176,9 +176,9 @@ const doCreateIssue = async () => {
props.role === PresetRoleType.PROJECT_QUERIER
? "bb.issue.grant.request.querier"
: "bb.issue.grant.request.exporter",
- state.databaseResources.map(
+ state.databaseResources?.map(
(databaseResource) => databaseResource.databaseName
- )
+ ) ?? []
),
description: state.description,
type: Issue_Type.GRANT_REQUEST,
diff --git a/frontend/src/layouts/ProjectV1Layout.vue b/frontend/src/layouts/ProjectV1Layout.vue
index 8b943ce0c8..b9fc843f57 100644
--- a/frontend/src/layouts/ProjectV1Layout.vue
+++ b/frontend/src/layouts/ProjectV1Layout.vue
@@ -185,8 +185,6 @@ const quickActionListForDatabase = computed((): QuickActionType[] => {
const actions: QuickActionType[] = [
"quickaction.bb.database.create",
"quickaction.bb.project.database.transfer",
- "quickaction.bb.issue.grant.request.querier",
- "quickaction.bb.issue.grant.request.exporter",
];
if (!hasProjectPermissionV2(project.value, "bb.databases.query")) {