Skip to content

Commit a61c09e

Browse files
Emyrkaslilac
andauthored
fix: use correct group url in multi-org experiment (#13986)
* fix: use correct group url in multi-org experiment When not using the experiment, default to the "default" org. Assuming groups are all in the primary org --------- Co-authored-by: McKayla Washburn <mckayla@hey.com>
1 parent 3a614f1 commit a61c09e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

site/src/pages/GroupsPage/GroupPage.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,12 @@ import { isEveryoneGroup } from "utils/groups";
5454
import { pageTitle } from "utils/page";
5555

5656
export const GroupPage: FC = () => {
57-
const { groupName, organization } = useParams() as {
58-
organization: string;
57+
const { groupName } = useParams() as {
5958
groupName: string;
6059
};
6160
const queryClient = useQueryClient();
6261
const navigate = useNavigate();
63-
const groupQuery = useQuery(group(organization, groupName));
62+
const groupQuery = useQuery(group("default", groupName));
6463
const groupData = groupQuery.data;
6564
const { data: permissions } = useQuery(
6665
groupData !== undefined

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy