mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 10:18:16 +00:00
feat: persist state at the org level when tab switching
This commit is contained in:
@@ -29,6 +29,7 @@ import {
|
||||
useUpdateOrgMembership
|
||||
} from "@app/hooks/api";
|
||||
import { usePopUp } from "@app/hooks/usePopUp";
|
||||
import { TabSections } from "@app/types";
|
||||
|
||||
import { UserDetailsSection, UserOrgMembershipModal, UserProjectsSection } from "./components";
|
||||
|
||||
@@ -111,7 +112,7 @@ export const UserPage = withPermission(
|
||||
type="submit"
|
||||
leftIcon={<FontAwesomeIcon icon={faChevronLeft} />}
|
||||
onClick={() => {
|
||||
router.push(`/org/${orgId}/members`);
|
||||
router.push(`/org/${orgId}/members?selectedTab=${TabSections.Member}`);
|
||||
}}
|
||||
className="mb-4"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user