mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 09:36:08 +00:00
22 lines
703 B
TypeScript
22 lines
703 B
TypeScript
'use client';
|
|
|
|
import { useParams } from 'next/navigation';
|
|
import { MembersManagementPage } from '@/components/members-management-page';
|
|
|
|
export default function WorkspaceMembersPage() {
|
|
const params = useParams();
|
|
const workspaceId = params.workspaceId as string;
|
|
|
|
return (
|
|
<MembersManagementPage
|
|
apiBasePath={`/api/workspaces/${workspaceId}`}
|
|
backHref={`/workspaces/${workspaceId}`}
|
|
backLabel="Back to Workspace"
|
|
title="Members"
|
|
subtitle="Manage who has access to this workspace and all its projects"
|
|
membersDescription="Admins can manage projects and members. Commentators can view and comment only."
|
|
forbiddenRedirect="/workspaces"
|
|
/>
|
|
);
|
|
}
|