Skip to content

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

chore: update data export table props (#11409)

boojacke34667adc08a
diff --git a/frontend/src/store/modules/v1/experimental-issue.ts b/frontend/src/store/modules/v1/experimental-issue.ts
index 74e163c652..35c910cfe9 100644
--- a/frontend/src/store/modules/v1/experimental-issue.ts
+++ b/frontend/src/store/modules/v1/experimental-issue.ts
@@ -50,7 +50,7 @@ export const composeIssue = async (
creatorEntity,
};
- if (config?.withPlan && issue.plan) {
+ if (config.withPlan && issue.plan) {
if (issue.plan) {
if (hasProjectPermissionV2(projectEntity, me.value, "bb.plans.get")) {
const plan = await rolloutServiceClient.getPlan({
@@ -68,7 +68,7 @@ export const composeIssue = async (
}
}
}
- if (config?.withRollout && issue.rollout) {
+ if (config.withRollout && issue.rollout) {
if (hasProjectPermissionV2(projectEntity, me.value, "bb.rollouts.get")) {
issue.rolloutEntity = await rolloutServiceClient.getRollout({
name: issue.rollout,
@@ -98,7 +98,10 @@ export const shallowComposeIssue = async (
rawIssue: Issue,
config?: ComposeIssueConfig
): Promise<ComposedIssue> => {
- return composeIssue(rawIssue, config);
+ return composeIssue(
+ rawIssue,
+ config || { withPlan: false, withRollout: false }
+ );
};
export const experimentalFetchIssueByUID = async (
diff --git a/frontend/src/views/ExportCenter/DataExportIssueDataTable/DataExportIssueDataTable.vue b/frontend/src/views/ExportCenter/DataExportIssueDataTable/DataExportIssueDataTable.vue
index f6785fde62..886d716897 100644
--- a/frontend/src/views/ExportCenter/DataExportIssueDataTable/DataExportIssueDataTable.vue
+++ b/frontend/src/views/ExportCenter/DataExportIssueDataTable/DataExportIssueDataTable.vue
@@ -72,6 +72,7 @@ const columnList = computed((): DataTableColumn<ComposedIssue>[] => {
{
key: "database",
title: t("common.database"),
+ width: 300,
resizable: true,
hide: !showExtendedColumns.value,
render: (issue) => {
@@ -79,29 +80,18 @@ const columnList = computed((): DataTableColumn<ComposedIssue>[] => {
if (!database) {
return "-";
}
- return h(
- NPerformantEllipsis,
- {
- class: `flex-1 truncate`,
- },
- h(DatabaseInfo, { database })
- );
+ return h(DatabaseInfo, { database });
},
},
{
key: "statement",
title: t("common.statement"),
resizable: true,
+ ellipsis: true,
hide: !showExtendedColumns.value,
render: (issue) => {
const statement = issueRelatedStatement(issue);
- return h(
- NPerformantEllipsis,
- {
- class: `flex-1 truncate`,
- },
- statement || "-"
- );
+ return statement || "-";
},
},
{