mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
[AC-1139] Added missing parameter to customRedirect
This commit is contained in:
@@ -27,7 +27,7 @@ export class OrganizationRedirectGuard implements CanActivate {
|
|||||||
|
|
||||||
const customRedirect = route.data?.autoRedirectCallback;
|
const customRedirect = route.data?.autoRedirectCallback;
|
||||||
if (customRedirect) {
|
if (customRedirect) {
|
||||||
let redirectPath = customRedirect(org);
|
let redirectPath = customRedirect(org, flexibleCollectionsEnabled);
|
||||||
if (typeof redirectPath === "string") {
|
if (typeof redirectPath === "string") {
|
||||||
redirectPath = [redirectPath];
|
redirectPath = [redirectPath];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user