40 lines
1.2 KiB
TypeScript
40 lines
1.2 KiB
TypeScript
import LicenseRequired from "@calcom/features/ee/common/components/LicenseRequired";
|
|
import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";
|
|
import { UserListTable } from "@calcom/features/users/components/UserTable/UserListTable";
|
|
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
|
import { Meta } from "@calcom/ui";
|
|
|
|
const MembersView = () => {
|
|
const { t } = useLocale();
|
|
|
|
return (
|
|
<LicenseRequired>
|
|
<Meta title={t("organization_members")} description={t("organization_description")} />
|
|
<div>
|
|
{/* {team && (
|
|
<>
|
|
{isInviteOpen && (
|
|
<TeamInviteList
|
|
teams={[
|
|
{
|
|
id: team.id,
|
|
accepted: team.membership.accepted || false,
|
|
logo: team.logo,
|
|
name: team.name,
|
|
slug: team.slug,
|
|
role: team.membership.role,
|
|
},
|
|
]}
|
|
/>
|
|
)}
|
|
</>
|
|
)} */}
|
|
<UserListTable />
|
|
</div>
|
|
</LicenseRequired>
|
|
);
|
|
};
|
|
MembersView.getLayout = getLayout;
|
|
|
|
export default MembersView;
|