mirror of
https://github.com/docmost/docmost.git
synced 2026-07-26 02:24:44 +10:00
d68e241f45
* feat(ee): personal spaces * pref * feat: on-demand only * error notification
38 lines
1.2 KiB
TypeScript
38 lines
1.2 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";
|
|
import PersonalSpacesSetting from "@/ee/personal-space/components/personal-spaces-setting.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 />
|
|
|
|
<Divider my="md" />
|
|
<PersonalSpacesSetting />
|
|
|
|
{isCloud() && (
|
|
<>
|
|
<Divider my="md" />
|
|
<ManageHostname />
|
|
</>
|
|
)}
|
|
</>
|
|
);
|
|
}
|