Skip to content

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

fix: prevent infinite redirect for export data issues (#17812)

boojack69842faa064e
diff --git a/frontend/src/views/project/IssueDetailV1View.vue b/frontend/src/views/project/IssueDetailV1View.vue
index 7371eb4235..40bc381f8a 100644
--- a/frontend/src/views/project/IssueDetailV1View.vue
+++ b/frontend/src/views/project/IssueDetailV1View.vue
@@ -63,8 +63,11 @@ onMounted(() => {
const isCreatingDatabasePlan = plan.value.specs.every(
(spec) => spec.config.case === "createDatabaseConfig"
);
- // Redirect to legacy layout if new layout is disabled and the plan is not a database creation plan.
- if (!enabledNewLayout.value && !isCreatingDatabasePlan) {
+ const isExportDataPlan = plan.value.specs.every(
+ (spec) => spec.config.case === "exportDataConfig"
+ );
+ // Redirect to legacy layout if new layout is disabled and the plan is not a database creation or export data plan.
+ if (!enabledNewLayout.value && !isCreatingDatabasePlan && !isExportDataPlan) {
const legacyIssueSlug = issueV1Slug(
`projects/${props.projectId}/issues/${props.issueId}`,
"issue"