Skip to content

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

fix: create plan with title (#16965)

p0ny38e863f1380c
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 41962dfadb..bfa2607847 100644
--- a/frontend/src/components/IssueV1/components/HeaderSection/Actions/create/CreateButton.vue
+++ b/frontend/src/components/IssueV1/components/HeaderSection/Actions/create/CreateButton.vue
@@ -168,7 +168,7 @@ const doCreateIssue = async () => {
try {
await createSheets();
- const createdPlan = await createPlan();
+ const createdPlan = await createPlan(issue.value.title);
if (!createdPlan) return;
issue.value.plan = createdPlan.name;
@@ -253,12 +253,15 @@ const createSheets = async () => {
});
};
-const createPlan = async () => {
+const createPlan = async (planTitle: string) => {
const plan = issue.value.planEntity;
if (!plan) return;
const request = create(CreatePlanRequestSchema, {
parent: issue.value.project,
- plan: plan,
+ plan: {
+ ...plan,
+ title: planTitle,
+ },
});
const response = await planServiceClientConnect.createPlan(request);
return response;