Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: export data button (#16567)
boojack3ce2bf266b52
diff --git a/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseOperations.vue b/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseOperations.vueindex 6d4c59eaed..56ebc2124e 100644--- a/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseOperations.vue+++ b/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseOperations.vue@@ -435,7 +435,11 @@ const actions = computed((): DatabaseAction[] => {resp.push({icon: h(DownloadIcon),text: t("custom-approval.risk-rule.risk.namespace.data_export"),- disabled: !allowExportData.value,+ disabled:+ !allowExportData.value ||+ !selectedProjectName.value ||+ props.databases.length < 1 ||+ selectedProjectNames.value.has(DEFAULT_PROJECT_NAME),click: () => generateMultiDb("bb.issue.database.data.export"),tooltip: (action) => {if (!allowExportData.value) {@@ -443,9 +447,6 @@ const actions = computed((): DatabaseAction[] => {action,});}- if (props.databases.length > 1) {- return t("database.data-export-action-disabled");- }return "";},});diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex 28215e1af7..8a2662f15e 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -1482,7 +1482,6 @@"batch-action-permission-denied": "Don't have permission to {action} for databases","batch-action-disabled": "Can not {action} for the databases from different projects","batch-action-disabled-for-unassigned": "Can not {action} for unassigned database",- "data-export-action-disabled": "Can not export data for more than one database","successfully-transferred-databases": "Successfully transferred databases","nullable": "Nullable","expression": "Expression",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex 265fcb3055..9ab5834629 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -1482,7 +1482,6 @@"batch-action-permission-denied": "No tengo permiso para {action} para bases de datos","batch-action-disabled": "No se puede {action} para las bases de datos de diferentes proyectos","batch-action-disabled-for-unassigned": "No se puede {action} para una base de datos no asignada",- "data-export-action-disabled": "No se puede exportar datos de más de una base de datos","successfully-transferred-databases": "Bases de datos transferidas exitosamente","nullable": "Anulable","expression": "Expresión",diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex 49f18b2720..40ac16d2dc 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -1482,7 +1482,6 @@"batch-action-permission-denied": "データベース {action} に対する権限がありません","batch-action-disabled": "異なるプロジェクトのデータベース {action} を比較できません","batch-action-disabled-for-unassigned": "未割り当てのデータベース {action} にアクセスできません",- "data-export-action-disabled": "複数のデータベースからデータをエクスポートできない","successfully-transferred-databases": "データベースの移行が完了しました","nullable": "null も可能","expression": "表現",diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.jsonindex 5a41338f49..a8d135cbe6 100644--- a/frontend/src/locales/vi-VN.json+++ b/frontend/src/locales/vi-VN.json@@ -1482,7 +1482,6 @@"batch-action-permission-denied": "Không có quyền {action} đối với cơ sở dữ liệu","batch-action-disabled": "Không thể {action} đối với các cơ sở dữ liệu từ các dự án khác nhau","batch-action-disabled-for-unassigned": "Không thể {action} đối với cơ sở dữ liệu chưa được gán",- "data-export-action-disabled": "Không thể xuất dữ liệu cho nhiều hơn một cơ sở dữ liệu","successfully-transferred-databases": "Đã chuyển thành công cơ sở dữ liệu","nullable": "Có thể null","expression": "Biểu thức",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 103a0b4351..572e9bf100 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -1482,7 +1482,6 @@"batch-action-permission-denied": "没有权限对数据库{action}","batch-action-disabled": "无法对来自不同项目的数据库{action}","batch-action-disabled-for-unassigned": "无法对未分配的数据库{action}",- "data-export-action-disabled": "无法对多个数据库进行数据导出","successfully-transferred-databases": "数据库转移完成","nullable": "可为空","expression": "表达式",