user management moved to console.cal.com (#6799)
parent
e121615d36
commit
0ffed24359
|
@ -1,32 +0,0 @@
|
|||
import { GetServerSidePropsContext } from "next";
|
||||
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import { Meta } from "@calcom/ui";
|
||||
|
||||
import { getLayout } from "@components/auth/layouts/AdminLayout";
|
||||
|
||||
import { ssrInit } from "@server/lib/ssr";
|
||||
|
||||
function AdminUsersView() {
|
||||
const { t } = useLocale();
|
||||
return (
|
||||
<>
|
||||
<Meta title={t("users")} description={t("users_description")} />
|
||||
<h1>{t("users_listing")}</h1>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
AdminUsersView.getLayout = getLayout;
|
||||
|
||||
export const getServerSideProps = async (context: GetServerSidePropsContext) => {
|
||||
const ssr = await ssrInit(context);
|
||||
|
||||
return {
|
||||
props: {
|
||||
trpcState: ssr.dehydrate(),
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
export default AdminUsersView;
|
|
@ -91,7 +91,7 @@ const tabs: VerticalTabItemProps[] = [
|
|||
//
|
||||
{ name: "impersonation", href: "/settings/admin/impersonation" },
|
||||
{ name: "apps", href: "/settings/admin/apps/calendar" },
|
||||
{ name: "users", href: "/settings/admin/users" },
|
||||
{ name: "users", href: "https://console.cal.com" },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue