Skip to content

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

chore: generate standard pipeline with effective environment (#7682)

Liu Jid406f627456e
diff --git a/frontend/src/components/IssueV1/logic/initialize/create.ts b/frontend/src/components/IssueV1/logic/initialize/create.ts
index b563ef2592..227f74c51d 100644
--- a/frontend/src/components/IssueV1/logic/initialize/create.ts
+++ b/frontend/src/components/IssueV1/logic/initialize/create.ts
@@ -145,7 +145,7 @@ export const buildSteps = async (
const databaseListGroupByEnvironment = groupBy(
databaseList,
- (db) => db.instanceEntity.environment
+ (db) => db.effectiveEnvironment
);
const stageList = orderBy(
Object.keys(databaseListGroupByEnvironment).map((env) => {