Merge branch 'dev' into feat/command-bar

This commit is contained in:
Fred KISSIE
2026-07-08 00:33:28 +02:00
399 changed files with 32298 additions and 9787 deletions
+9 -1
View File
@@ -109,7 +109,15 @@ export default async function Page(props: {
}
if (targetOrgId && !showOrgPicker) {
return <RedirectToOrg targetOrgId={targetOrgId} />;
const targetOrg = orgs.find((org) => org.orgId === targetOrgId);
return (
<RedirectToOrg
targetOrgId={targetOrgId}
isAdminOrOwner={Boolean(
targetOrg?.isAdmin || targetOrg?.isOwner
)}
/>
);
}
return (