Skip to content

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

fix: description in legacy issue page (#17347)

boojackd824fd78d7f0
diff --git a/frontend/src/components/IssueV1/DataExportIssueDetailPage.vue b/frontend/src/components/IssueV1/DataExportIssueDetailPage.vue
index 062185a7a1..c92166cdd5 100644
--- a/frontend/src/components/IssueV1/DataExportIssueDetailPage.vue
+++ b/frontend/src/components/IssueV1/DataExportIssueDetailPage.vue
@@ -13,7 +13,7 @@
<TaskRunSection v-if="!isCreating" />
<SQLCheckSection v-if="isCreating" />
<StatementSection />
- <DescriptionSection />
+ <DescriptionSection v-if="isCreating" />
<IssueCommentSection v-if="!isCreating" />
</div>
diff --git a/frontend/src/components/IssueV1/GrantRequestIssueDetailPage.vue b/frontend/src/components/IssueV1/GrantRequestIssueDetailPage.vue
index 27eb713c4b..a1e6f72268 100644
--- a/frontend/src/components/IssueV1/GrantRequestIssueDetailPage.vue
+++ b/frontend/src/components/IssueV1/GrantRequestIssueDetailPage.vue
@@ -69,8 +69,7 @@
</div>
</div>
- <DescriptionSection />
-
+ <DescriptionSection v-if="isCreating" />
<IssueCommentSection v-if="!isCreating" />
</div>
diff --git a/frontend/src/components/IssueV1/IssueDetailPage.vue b/frontend/src/components/IssueV1/IssueDetailPage.vue
index fbbf088c68..277475f5ef 100644
--- a/frontend/src/components/IssueV1/IssueDetailPage.vue
+++ b/frontend/src/components/IssueV1/IssueDetailPage.vue
@@ -25,8 +25,7 @@
<StatementSection />
- <DescriptionSection />
-
+ <DescriptionSection v-if="isCreating" />
<IssueCommentSection v-if="!isCreating" />
</div>
diff --git a/frontend/src/components/IssueV1/components/HeaderSection/Actions/create/CreateButton.vue b/frontend/src/components/IssueV1/components/HeaderSection/Actions/create/CreateButton.vue
index dc1c57496a..d8f4fb3caf 100644
--- a/frontend/src/components/IssueV1/components/HeaderSection/Actions/create/CreateButton.vue
+++ b/frontend/src/components/IssueV1/components/HeaderSection/Actions/create/CreateButton.vue
@@ -165,7 +165,10 @@ const doCreateIssue = async () => {
try {
await createSheets();
- const createdPlan = await createPlan(issue.value.title);
+ const createdPlan = await createPlan(
+ issue.value.title,
+ issue.value.description
+ );
if (!createdPlan) return;
issue.value.plan = createdPlan.name;
@@ -249,14 +252,15 @@ const createSheets = async () => {
});
};
-const createPlan = async (planTitle: string) => {
+const createPlan = async (title: string, description: string) => {
const plan = issue.value.planEntity;
if (!plan) return;
const request = create(CreatePlanRequestSchema, {
parent: issue.value.project,
plan: {
...plan,
- title: planTitle,
+ title,
+ description,
},
});
const response = await planServiceClientConnect.createPlan(request);