1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-31 07:33:23 +00:00

Added option to through queryParams pre select the desired upgrade option on the subscription page (#10145)

This commit is contained in:
aj-rosado
2024-07-23 12:56:21 +01:00
committed by GitHub
parent 57b8c30664
commit 2ea2045686
6 changed files with 17 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ export class IsEnterpriseOrgGuard implements CanActivate {
});
if (upgradeConfirmed) {
await this.router.navigate(["organizations", org.id, "billing", "subscription"], {
queryParams: { upgrade: true },
queryParams: { upgrade: true, productTierType: ProductTierType.Enterprise },
});
}
}