mirror of
https://github.com/docmost/docmost.git
synced 2026-05-20 08:34:04 +08:00
6cf8101ab3
* feat(ee): templates * fix tree * fix
34 lines
1.1 KiB
TypeScript
34 lines
1.1 KiB
TypeScript
import SettingsTitle from "@/components/settings/settings-title.tsx";
|
|
import WorkspaceNameForm from "@/features/workspace/components/settings/components/workspace-name-form";
|
|
import WorkspaceIcon from "@/features/workspace/components/settings/components/workspace-icon.tsx";
|
|
import { useTranslation } from "react-i18next";
|
|
import { getAppName, isCloud } from "@/lib/config.ts";
|
|
import { Helmet } from "react-helmet-async";
|
|
import ManageHostname from "@/ee/components/manage-hostname.tsx";
|
|
import { Divider } from "@mantine/core";
|
|
import AllowMemberTemplates from "@/ee/security/components/allow-member-templates.tsx";
|
|
|
|
export default function WorkspaceSettings() {
|
|
const { t } = useTranslation();
|
|
return (
|
|
<>
|
|
<Helmet>
|
|
<title>Workspace Settings - {getAppName()}</title>
|
|
</Helmet>
|
|
<SettingsTitle title={t("General")} />
|
|
<WorkspaceIcon />
|
|
<WorkspaceNameForm />
|
|
|
|
<Divider my="md" />
|
|
<AllowMemberTemplates />
|
|
|
|
{isCloud() && (
|
|
<>
|
|
<Divider my="md" />
|
|
<ManageHostname />
|
|
</>
|
|
)}
|
|
</>
|
|
);
|
|
}
|