1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-06-29 11:05:54 +02:00

Fixed link to navigate to Members page. (#5892)

This commit is contained in:
Todd Martin 2023-07-25 10:31:43 -04:00 committed by GitHub
parent ba8ad9598b
commit a456e4d3b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ describe("TrialInitiationComponent", () => {
component: BlankComponent, component: BlankComponent,
}, },
{ {
path: `organizations/${testOrgId}/manage/members`, path: `organizations/${testOrgId}/members`,
component: BlankComponent, component: BlankComponent,
}, },
]), ]),
@ -301,7 +301,7 @@ describe("TrialInitiationComponent", () => {
describe("navigateToOrgVault", () => { describe("navigateToOrgVault", () => {
it("should call verticalStepper.previous()", fakeAsync(() => { it("should call verticalStepper.previous()", fakeAsync(() => {
component.navigateToOrgInvite(); component.navigateToOrgInvite();
expect(routerSpy).toHaveBeenCalledWith(["organizations", testOrgId, "manage", "members"]); expect(routerSpy).toHaveBeenCalledWith(["organizations", testOrgId, "members"]);
})); }));
}); });
}); });

View File

@ -227,7 +227,7 @@ export class TrialInitiationComponent implements OnInit, OnDestroy {
} }
navigateToOrgInvite() { navigateToOrgInvite() {
this.router.navigate(["organizations", this.orgId, "manage", "members"]); this.router.navigate(["organizations", this.orgId, "members"]);
} }
previousStep() { previousStep() {