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(frontend): show Create Rollout as primary button when issue approved (#18819)
boojack7bf0055ca3fa
diff --git a/frontend/src/components/Plan/components/HeaderSection/Actions/registry/actions/rollout.ts b/frontend/src/components/Plan/components/HeaderSection/Actions/registry/actions/rollout.tsindex 2e1e0e6910..610ddf4258 100644--- a/frontend/src/components/Plan/components/HeaderSection/Actions/registry/actions/rollout.ts+++ b/frontend/src/components/Plan/components/HeaderSection/Actions/registry/actions/rollout.ts@@ -6,18 +6,7 @@ export const ROLLOUT_CREATE: ActionDefinition = {id: "ROLLOUT_CREATE",label: () => t("issue.create-rollout"),buttonType: "default",- category: (ctx) => {- // Show as primary only when issue approved and plan checks done without errors- if (- ctx.issueApproved &&- !ctx.validation.planChecksRunning &&- !ctx.validation.planChecksFailed- ) {- return "primary";- }- // For force creating rollout, show as secondary- return "secondary";- },+ category: (ctx) => (ctx.issueApproved ? "primary" : "secondary"),priority: 55,isVisible: (ctx) => {